function WorkspacesUiToolbarLinkBuilder::__construct

Same name and namespace in other branches
  1. main core/modules/toolbar/src/WorkspacesUiToolbarLinkBuilder.php \Drupal\toolbar\WorkspacesUiToolbarLinkBuilder::__construct()

File

core/modules/toolbar/src/WorkspacesUiToolbarLinkBuilder.php, line 27

Class

WorkspacesUiToolbarLinkBuilder
Fills out the placeholder generated in ToolbarHooks::workspacesUiToolbar().

Namespace

Drupal\toolbar

Code

public function __construct(protected readonly ?WorkspaceManagerInterface $workspaceManager, protected readonly ElementInfoManagerInterface $elementInfo) {
}

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