function NavigationRenderer::__construct

Same name and namespace in other branches
  1. 11.x core/modules/navigation/src/NavigationRenderer.php \Drupal\navigation\NavigationRenderer::__construct()

Construct a new NavigationRenderer object.

File

core/modules/navigation/src/NavigationRenderer.php, line 64

Class

NavigationRenderer
Handle rendering for different pieces of the navigation.

Namespace

Drupal\navigation

Code

public function __construct(private ConfigFactoryInterface $configFactory, private ModuleHandlerInterface $moduleHandler, private RouteMatchInterface $routeMatch, private LocalTaskManagerInterface $localTaskManager, private EntityTypeManagerInterface $entityTypeManager, private ImageFactory $imageFactory, private FileUrlGeneratorInterface $fileUrlGenerator, private SectionStorageManagerInterface $sectionStorageManager, private RequestStack $requestStack, private ModuleExtensionList $moduleExtensionList) {
}

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