You are here

public function MenuItems::__construct in Simplify Menu 8.2

Same name and namespace in other branches
  1. 8 src/MenuItems.php \Drupal\simplify_menu\MenuItems::__construct()

MenuItems constructor.

Parameters

\Drupal\Core\Menu\MenuLinkTreeInterface $menu_link_tree: The MenuLinkTree service.

File

src/MenuItems.php, line 38

Class

MenuItems
Class MenuItems.

Namespace

Drupal\simplify_menu

Code

public function __construct(MenuLinkTreeInterface $menu_link_tree) {
  $this->menuLinkTree = $menu_link_tree;
}