You are here

public function DefaultWorkspaceNegotiator::getWorkspaceId in Multiversion 8

Parameters

\Symfony\Component\HttpFoundation\Request $request:

Return value

string

Overrides WorkspaceNegotiatorInterface::getWorkspaceId

File

src/Workspace/DefaultWorkspaceNegotiator.php, line 19

Class

DefaultWorkspaceNegotiator

Namespace

Drupal\multiversion\Workspace

Code

public function getWorkspaceId(Request $request) {
  return $this->container
    ->getParameter('workspace.default');
}