You are here

protected property WorkspaceTestTrait::$workspaces in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/workspaces/tests/src/Kernel/WorkspaceTestTrait.php \Drupal\Tests\workspaces\Kernel\WorkspaceTestTrait::workspaces
  2. 9 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\Kernel

Code

protected $workspaces = [];