You are here

public function MenuForm::__construct in Colossal Menu 8

Same name and namespace in other branches
  1. 2.x src/Form/MenuForm.php \Drupal\colossal_menu\Form\MenuForm::__construct()

Constructor.

File

src/Form/MenuForm.php, line 38

Class

MenuForm
Settings form for menus.

Namespace

Drupal\colossal_menu\Form

Code

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