function 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.