public function WorkspaceManagerInterface::getActiveWorkspace in Workspace 8.2
Gets the active workspace.
Return value
\Drupal\workspace\WorkspaceInterface The active workspace entity object.
1 method overrides WorkspaceManagerInterface::getActiveWorkspace()
- WorkspaceManager::getActiveWorkspace in src/
WorkspaceManager.php - Gets the active workspace.
File
- src/
WorkspaceManagerInterface.php, line 37
Class
- WorkspaceManagerInterface
- Provides an interface for managing Workspaces.
Namespace
Drupal\workspaceCode
public function getActiveWorkspace();