You are here

public function WorkspaceNegotiatorBase::persist in Multiversion 8

Parameters

\Drupal\multiversion\Entity\WorkspaceInterface $workspace:

Return value

boolean

Overrides WorkspaceNegotiatorInterface::persist

2 methods override WorkspaceNegotiatorBase::persist()
CronWorkspaceNegotiator::persist in src/Workspace/CronWorkspaceNegotiator.php
SessionWorkspaceNegotiator::persist in src/Workspace/SessionWorkspaceNegotiator.php

File

src/Workspace/WorkspaceNegotiatorBase.php, line 41

Class

WorkspaceNegotiatorBase

Namespace

Drupal\multiversion\Workspace

Code

public function persist(WorkspaceInterface $workspace) {
  return TRUE;
}