WorkspaceRepository::$tree

Same name in other branches
  1. 8.9.x core/modules/workspaces/src/WorkspaceRepository.php \Drupal\workspaces\WorkspaceRepository::tree
  2. 10 core/modules/workspaces/src/WorkspaceRepository.php \Drupal\workspaces\WorkspaceRepository::tree
  3. 11.x core/modules/workspaces/src/WorkspaceRepository.php \Drupal\workspaces\WorkspaceRepository::tree

An array of tree items, keyed by workspace IDs and sorted in tree order.

Type: array|null

File

core/modules/workspaces/src/WorkspaceRepository.php, line 35

Class

WorkspaceRepository
Provides the default workspace tree lookup operations.

Namespace

Drupal\workspaces

Code

protected $tree;

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.