WorkspaceTestTrait::$workspaces
Same name in other branches
- 9 core/modules/workspaces/tests/src/Kernel/WorkspaceTestTrait.php \Drupal\Tests\workspaces\Kernel\WorkspaceTestTrait::workspaces
- 8.9.x core/modules/workspaces/tests/src/Kernel/WorkspaceTestTrait.php \Drupal\Tests\workspaces\Kernel\WorkspaceTestTrait::workspaces
- 11.x 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 27
Class
- WorkspaceTestTrait
- A trait with common workspaces testing functionality.
Namespace
Drupal\Tests\workspaces\KernelCode
protected $workspaces = [];
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.