public MenuLinkDefaultForm::__construct(MenuLinkManagerInterface $menu_link_manager, MenuParentFormSelectorInterface $menu_parent_selector, TranslationInterface $string_translation, ModuleHandlerInterface $module_handler)
Constructs a new \Drupal\Core\Menu\Form\MenuLinkDefaultForm.
\Drupal\Core\Menu\MenuLinkManagerInterface $menu_link_manager: The menu link manager.
\Drupal\Core\Menu\MenuParentFormSelectorInterface $menu_parent_selector: The menu parent form selector service.
\Drupal\Core\StringTranslation\TranslationInterface $string_translation: The string translation.
\Drupal\Core\Extension\ModuleHandlerInterface $module_handler: The module handler;
public function __construct(MenuLinkManagerInterface $menu_link_manager, MenuParentFormSelectorInterface $menu_parent_selector, TranslationInterface $string_translation, ModuleHandlerInterface $module_handler) { $this->menuLinkManager = $menu_link_manager; $this->menuParentSelector = $menu_parent_selector; $this->stringTranslation = $string_translation; $this->moduleHandler = $module_handler; }
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Menu!Form!MenuLinkDefaultForm.php/function/MenuLinkDefaultForm::__construct/8.1.x