You are here

public function WorkspaceManager::load in Multiversion 8

Parameters

string $workspace_id:

Overrides WorkspaceManagerInterface::load

1 call to WorkspaceManager::load()
WorkspaceManager::getActiveWorkspace in src/Workspace/WorkspaceManager.php
@todo {@link https://www.drupal.org/node/2600382 Access check.}

File

src/Workspace/WorkspaceManager.php, line 75

Class

WorkspaceManager

Namespace

Drupal\multiversion\Workspace

Code

public function load($workspace_id) {
  return $this->entityTypeManager
    ->getStorage('workspace')
    ->load($workspace_id);
}