public function MenuLinkContentDeriver::__construct in Drupal 8
Same name and namespace in other branches
- 9 core/modules/menu_link_content/src/Plugin/Deriver/MenuLinkContentDeriver.php \Drupal\menu_link_content\Plugin\Deriver\MenuLinkContentDeriver::__construct()
Constructs a MenuLinkContentDeriver instance.
Parameters
\Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager: The entity type manager.
\Drupal\Core\Menu\MenuLinkManagerInterface $menu_link_manager: The menu link manager.
File
- core/
modules/ menu_link_content/ src/ Plugin/ Deriver/ MenuLinkContentDeriver.php, line 48
Class
- MenuLinkContentDeriver
- Provides a deriver for user entered paths of menu links.
Namespace
Drupal\menu_link_content\Plugin\DeriverCode
public function __construct(EntityTypeManagerInterface $entity_type_manager, MenuLinkManagerInterface $menu_link_manager) {
$this->entityTypeManager = $entity_type_manager;
$this->menuLinkManager = $menu_link_manager;
}