You are here

public static function WorkspaceController::getDefaultWorkspaceId in Workspace 8

1 call to WorkspaceController::getDefaultWorkspaceId()
WorkspaceController::getDefaultWorkspacePointer in src/Controller/WorkspaceController.php
Returns the upstream for the given workspace.

File

src/Controller/WorkspaceController.php, line 114

Class

WorkspaceController
WorkspaceController class.

Namespace

Drupal\workspace\Controller

Code

public static function getDefaultWorkspaceId() {
  return \Drupal::getContainer()
    ->getParameter('workspace.default');
}