menu.active_trail
Same name in other branches
- 9 core/core.services.yml \menu.active_trail
- 8.9.x core/core.services.yml \menu.active_trail
Class
Drupal\Core\Menu\MenuActiveTrailTags
- needs_destruction
3 string references to menu.active_trail
- MenuActiveTrailsCacheContext::__construct in core/
lib/ Drupal/ Core/ Cache/ Context/ MenuActiveTrailsCacheContext.php - Constructs a MenuActiveTrailsCacheContext object.
- NavigationMenuBlock::create in core/
modules/ navigation/ src/ Plugin/ Block/ NavigationMenuBlock.php - Creates an instance of the plugin.
- SystemMenuBlock::create in core/
modules/ system/ src/ Plugin/ Block/ SystemMenuBlock.php - Creates an instance of the plugin.
File
-
core/
core.services.yml
View source
- class: Drupal\Core\Menu\MenuActiveTrail
- arguments:
- - '@plugin.manager.menu.link'
- - '@current_route_match'
- - '@cache.menu'
- - '@lock'
- tags:
- - { name: needs_destruction }
- lazy: true
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.