WorkspaceManager::$activeWorkspace
Same name and namespace in other branches
- 9 core/modules/workspaces/src/WorkspaceManager.php \Drupal\workspaces\WorkspaceManager::activeWorkspace
- 8.9.x core/modules/workspaces/src/WorkspaceManager.php \Drupal\workspaces\WorkspaceManager::activeWorkspace
- 10 core/modules/workspaces/src/WorkspaceManager.php \Drupal\workspaces\WorkspaceManager::activeWorkspace
The current active workspace.
The value is either a workspace object, FALSE if there is no active workspace, or NULL if the active workspace hasn't been determined yet.
Type: activeWorkspace
File
-
core/
modules/ workspaces/ src/ WorkspaceManager.php, line 33
Class
- WorkspaceManager
- Provides the workspace manager.
Namespace
Drupal\workspacesCode
protected WorkspaceInterface|false|null $activeWorkspace = NULL;
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.