function NavigationHooks::__construct
NavigationHooks constructor.
Parameters
\Drupal\Core\Extension\ModuleHandlerInterface $moduleHandler: The module handler.
\Drupal\Core\Session\AccountInterface $currentUser: The current user.
\Drupal\Core\Routing\RouteMatchInterface $routeMatch: The route match.
\Drupal\navigation\NavigationRenderer $navigationRenderer: The navigation renderer.
\Drupal\Core\Config\Action\ConfigActionManager $configActionManager: The config action manager.
\Drupal\navigation\TopBarItemManagerInterface $topBarItemManager: The Top Bar Item manager.
File
-
core/
modules/ navigation/ src/ Hook/ NavigationHooks.php, line 44
Class
- NavigationHooks
- Hook implementations for navigation.
Namespace
Drupal\navigation\HookCode
public function __construct(ModuleHandlerInterface $moduleHandler, AccountInterface $currentUser, RouteMatchInterface $routeMatch, NavigationRenderer $navigationRenderer, ConfigActionManager $configActionManager, TopBarItemManagerInterface $topBarItemManager) {
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.