function WorkspaceSwitchSubscriber::__construct
File
-
core/
modules/ workspaces/ src/ EventSubscriber/ WorkspaceSwitchSubscriber.php, line 19
Class
- WorkspaceSwitchSubscriber
- Provides a event subscriber for reacting to workspace activation.
Namespace
Drupal\workspaces\EventSubscriberCode
public function __construct(protected readonly WorkspaceInformationInterface $workspaceInfo, #[Autowire(service: 'entity.memory_cache')] protected readonly MemoryCacheInterface $entityMemoryCache, protected readonly ?AliasManagerInterface $aliasManager = NULL) {
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.