service menu.active_trail in Drupal 9
Same name and namespace in other branches
- 8 core/core.services.yml \menu.active_trail
Class
Drupal\Core\Menu\MenuActiveTrailTags
- needs_destruction
1 string reference to menu.active_trail
- SystemMenuBlock::create in core/
modules/ system/ src/ Plugin/ Block/ SystemMenuBlock.php - Creates an instance of the plugin.
File
- core/
core.services.yml - 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 }