function WorkspaceManager::__construct

Same name and namespace in other branches
  1. 11.x core/modules/workspaces/src/WorkspaceManager.php \Drupal\workspaces\WorkspaceManager::__construct()
  2. 10 core/modules/workspaces/src/WorkspaceManager.php \Drupal\workspaces\WorkspaceManager::__construct()
  3. 9 core/modules/workspaces/src/WorkspaceManager.php \Drupal\workspaces\WorkspaceManager::__construct()
  4. 8.9.x core/modules/workspaces/src/WorkspaceManager.php \Drupal\workspaces\WorkspaceManager::__construct()

File

core/modules/workspaces/src/WorkspaceManager.php, line 23

Class

WorkspaceManager
Provides the workspace manager.

Namespace

Drupal\workspaces

Code

public function __construct(protected RequestStack $requestStack, #[AutowireIterator(tag: 'workspace_negotiator')] protected iterable $negotiators, #[AutowireServiceClosure('entity_type.manager')] protected \Closure $entityTypeManager, #[AutowireServiceClosure('event_dispatcher')] protected \Closure $eventDispatcher) {
}

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