MenuParentFormSelector::__construct

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

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;
}
doc_Drupal
2016-10-29 09:27:27
Comments
Leave a Comment

Please login to continue.