public function SessionWorkspaceNegotiator::persist in Multiversion 8
Parameters
\Drupal\multiversion\Entity\WorkspaceInterface $workspace:
Return value
boolean
Overrides WorkspaceNegotiatorBase::persist
File
- src/
Workspace/ SessionWorkspaceNegotiator.php, line 45
Class
Namespace
Drupal\multiversion\WorkspaceCode
public function persist(WorkspaceInterface $workspace) {
$this->tempstore
->set('active_workspace_id', $workspace
->id());
return TRUE;
}