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