function MenuLinkContentHooks::__construct

Same name and namespace in other branches
  1. main core/modules/menu_link_content/src/Hook/MenuLinkContentHooks.php \Drupal\menu_link_content\Hook\MenuLinkContentHooks::__construct()

File

core/modules/menu_link_content/src/Hook/MenuLinkContentHooks.php, line 23

Class

MenuLinkContentHooks
Hook implementations for menu_link_content.

Namespace

Drupal\menu_link_content\Hook

Code

public function __construct(protected readonly EntityTypeManagerInterface $entityTypeManager, protected readonly ModuleHandlerInterface $moduleHandler, protected readonly MenuLinkManagerInterface $menuLinkManager) {
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.