public function MultiversionManager::setActiveWorkspaceId in Multiversion 8
Parameters
string $id:
Overrides MultiversionManagerInterface::setActiveWorkspaceId
Deprecated
Should no longer be used.
See also
\Drupal\multiversion\Workspace\WorkspaceManager::setActiveWorkspace()
File
- src/
MultiversionManager.php, line 153
Class
Namespace
Drupal\multiversionCode
public function setActiveWorkspaceId($id) {
$workspace = $this->workspaceManager
->load($id);
return $this->workspaceManager
->setActiveWorkspace($workspace);
}