public function WorkspaceManagerInterface::setActiveWorkspace in Multiversion 8
Sets the active workspace for the site/session.
Parameters
\Drupal\multiversion\Entity\WorkspaceInterface $workspace: The workspace to set as active.
Return value
\Drupal\multiversion\Workspace\WorkspaceManagerInterface
Throws
1 method overrides WorkspaceManagerInterface::setActiveWorkspace()
- WorkspaceManager::setActiveWorkspace in src/
Workspace/ WorkspaceManager.php - Sets the active workspace for the site/session.
File
- src/
Workspace/ WorkspaceManagerInterface.php, line 56
Class
Namespace
Drupal\multiversion\WorkspaceCode
public function setActiveWorkspace(WorkspaceInterface $workspace);