WorkspaceManager::$activeWorkspace

Same name in other branches
  1. 9 core/modules/workspaces/src/WorkspaceManager.php \Drupal\workspaces\WorkspaceManager::activeWorkspace
  2. 8.9.x core/modules/workspaces/src/WorkspaceManager.php \Drupal\workspaces\WorkspaceManager::activeWorkspace
  3. 11.x core/modules/workspaces/src/WorkspaceManager.php \Drupal\workspaces\WorkspaceManager::activeWorkspace

The current active workspace or FALSE if there is no active workspace.

Type: \Drupal\workspaces\WorkspaceInterface|false

File

core/modules/workspaces/src/WorkspaceManager.php, line 98

Class

WorkspaceManager
Provides the workspace manager.

Namespace

Drupal\workspaces

Code

protected $activeWorkspace;

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