function WorkspacesAliasRepository::setWorkspacesManager
Same name in other branches
- 9 core/modules/workspaces/src/WorkspacesAliasRepository.php \Drupal\workspaces\WorkspacesAliasRepository::setWorkspacesManager()
- 10 core/modules/workspaces/src/WorkspacesAliasRepository.php \Drupal\workspaces\WorkspacesAliasRepository::setWorkspacesManager()
- 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\workspacesCode
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.