public MenuParentFormSelector::__construct(MenuLinkTreeInterface $menu_link_tree, EntityManagerInterface $entity_manager, TranslationInterface $string_translation)
Constructs a \Drupal\Core\Menu\MenuParentFormSelector
Parameters
\Drupal\Core\Menu\MenuLinkTreeInterface $menu_link_tree: The menu link tree service.
\Drupal\Core\Entity\EntityManagerInterface $entity_manager: The entity manager.
\Drupal\Core\StringTranslation\TranslationInterface $string_translation: The string translation service.
File
- core/lib/Drupal/Core/Menu/MenuParentFormSelector.php, line 43
Class
- MenuParentFormSelector
- Default implementation of the menu parent form selector service.
Namespace
Drupal\Core\Menu
Code
1 2 3 4 5 | public function __construct(MenuLinkTreeInterface $menu_link_tree , EntityManagerInterface $entity_manager , TranslationInterface $string_translation ) { $this ->menuLinkTree = $menu_link_tree ; $this ->entityManager = $entity_manager ; $this ->stringTranslation = $string_translation ; } |
Please login to continue.