public function WorkspaceManager::getActiveWorkspace in Multiversion 8
@todo {@link https://www.drupal.org/node/2600382 Access check.}
Overrides WorkspaceManagerInterface::getActiveWorkspace
File
- src/
Workspace/ WorkspaceManager.php, line 99
Class
Namespace
Drupal\multiversion\WorkspaceCode
public function getActiveWorkspace() {
$workspace_id = $this
->getActiveWorkspaceId();
if ($workspace = $this
->load($workspace_id)) {
return $workspace;
}
}