function WorkspaceManager::__construct
Same name and namespace in other branches
- 11.x core/modules/workspaces/src/WorkspaceManager.php \Drupal\workspaces\WorkspaceManager::__construct()
- 10 core/modules/workspaces/src/WorkspaceManager.php \Drupal\workspaces\WorkspaceManager::__construct()
- 9 core/modules/workspaces/src/WorkspaceManager.php \Drupal\workspaces\WorkspaceManager::__construct()
- 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\workspacesCode
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.