function WorkspaceManager::hasActiveWorkspace
Same name in other branches
- 8.9.x core/modules/workspaces/src/WorkspaceManager.php \Drupal\workspaces\WorkspaceManager::hasActiveWorkspace()
- 10 core/modules/workspaces/src/WorkspaceManager.php \Drupal\workspaces\WorkspaceManager::hasActiveWorkspace()
- 11.x core/modules/workspaces/src/WorkspaceManager.php \Drupal\workspaces\WorkspaceManager::hasActiveWorkspace()
Overrides WorkspaceManagerInterface::hasActiveWorkspace
1 call to WorkspaceManager::hasActiveWorkspace()
- WorkspaceManager::shouldAlterOperations in core/
modules/ workspaces/ src/ WorkspaceManager.php
File
-
core/
modules/ workspaces/ src/ WorkspaceManager.php, line 166
Class
- WorkspaceManager
- Provides the workspace manager.
Namespace
Drupal\workspacesCode
public function hasActiveWorkspace() {
return $this->getActiveWorkspace() !== FALSE;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.