protected property WorkspaceTestTrait::$workspaces in Drupal 9
Same name and namespace in other branches
- 8 core/modules/workspaces/tests/src/Kernel/WorkspaceTestTrait.php \Drupal\Tests\workspaces\Kernel\WorkspaceTestTrait::workspaces
- 10 core/modules/workspaces/tests/src/Kernel/WorkspaceTestTrait.php \Drupal\Tests\workspaces\Kernel\WorkspaceTestTrait::workspaces
An array of test workspaces, keyed by workspace ID.
Type: \Drupal\workspaces\WorkspaceInterface[]
File
- core/
modules/ workspaces/ tests/ src/ Kernel/ WorkspaceTestTrait.php, line 24
Class
- WorkspaceTestTrait
- A trait with common workspaces testing functionality.
Namespace
Drupal\Tests\workspaces\KernelCode
protected $workspaces = [];