function NavigationMenuLinkTreeManipulators::__construct
File
-
core/
modules/ navigation/ src/ Menu/ NavigationMenuLinkTreeManipulators.php, line 23
Class
- NavigationMenuLinkTreeManipulators
- Provides a menu link tree manipulator for the navigation menu block.
Namespace
Drupal\navigation\MenuCode
public function __construct(protected readonly RouteProviderInterface $routeProvider, protected readonly StaticMenuLinkOverridesInterface $overrides, TranslationInterface $translation) {
$this->setStringTranslation($translation);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.