You are here

public function ToolbarMenuMenuLinkTreeManipulators::__construct in Toolbar Menu 8

Same name and namespace in other branches
  1. 8.2 src/ToolbarMenuMenuLinkTreeManipulators.php \Drupal\toolbar_menu\ToolbarMenuMenuLinkTreeManipulators::__construct()

Construct a new ToolbarMenuMenuLinkTreeManipulators.

Parameters

\Drupal\toolbar_menu\ToolbarMenuManager $toolbar_menu_manager: The toolbar_menu manager.

File

src/ToolbarMenuMenuLinkTreeManipulators.php, line 21

Class

ToolbarMenuMenuLinkTreeManipulators
Provides a couple of menu link tree manipulators.

Namespace

Drupal\toolbar_menu

Code

public function __construct(ToolbarMenuManager $toolbar_menu_manager) {
  $this->toolbarMenuManager = $toolbar_menu_manager;
}