You are here

public function MenuSelectTreeBuilder::__construct in Menu Select 8

Same name and namespace in other branches
  1. 2.0.x src/MenuSelectTreeBuilder.php \Drupal\menu_select\MenuSelectTreeBuilder::__construct()

MenuSelectTreeBuilder constructor.

File

src/MenuSelectTreeBuilder.php, line 37

Class

MenuSelectTreeBuilder
A service for building out the menu trees used in menu select.

Namespace

Drupal\menu_select

Code

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