public function WorkspaceManagerInterface::getActiveWorkspace in Drupal 8
Same name and namespace in other branches
- 9 core/modules/workspaces/src/WorkspaceManagerInterface.php \Drupal\workspaces\WorkspaceManagerInterface::getActiveWorkspace()
Gets the active workspace.
Return value
\Drupal\workspaces\WorkspaceInterface The active workspace entity object.
1 method overrides WorkspaceManagerInterface::getActiveWorkspace()
- WorkspaceManager::getActiveWorkspace in core/
modules/ workspaces/ src/ WorkspaceManager.php - Gets the active workspace.
File
- core/
modules/ workspaces/ src/ WorkspaceManagerInterface.php, line 45
Class
- WorkspaceManagerInterface
- Provides an interface for managing Workspaces.
Namespace
Drupal\workspacesCode
public function getActiveWorkspace();