function WorkspacesAliasRepository::setWorkspacesManager

Same name in other branches
  1. 9 core/modules/workspaces/src/WorkspacesAliasRepository.php \Drupal\workspaces\WorkspacesAliasRepository::setWorkspacesManager()
  2. 10 core/modules/workspaces/src/WorkspacesAliasRepository.php \Drupal\workspaces\WorkspacesAliasRepository::setWorkspacesManager()
  3. 11.x core/modules/workspaces/src/WorkspacesAliasRepository.php \Drupal\workspaces\WorkspacesAliasRepository::setWorkspacesManager()

Sets the workspace manager.

Parameters

\Drupal\workspaces\WorkspaceManagerInterface $workspace_manager: The workspace manager service.

Return value

$this

File

core/modules/workspaces/src/WorkspacesAliasRepository.php, line 27

Class

WorkspacesAliasRepository
Provides workspace-specific path alias lookup queries.

Namespace

Drupal\workspaces

Code

public function setWorkspacesManager(WorkspaceManagerInterface $workspace_manager) {
    $this->workspaceManager = $workspace_manager;
    return $this;
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.