public function MenuLinkTreeHandler::__construct in Menu Item Extras 8
Constructs a new MenuLinkTreeHandler.
Parameters
\Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager: The entity type manager.
\Drupal\Core\Entity\EntityRepositoryInterface $entity_repository: The entity repository manager.
File
- src/
MenuLinkTreeHandler.php, line 36
Class
- MenuLinkTreeHandler
- Class MenuLinkTreeHandler.
Namespace
Drupal\menu_item_extrasCode
public function __construct(EntityTypeManagerInterface $entity_type_manager, EntityRepositoryInterface $entity_repository) {
$this->entityTypeManager = $entity_type_manager;
$this->entityRepository = $entity_repository;
}