service menu.active_trail in Drupal 10
Same name and namespace in other branches
- 8 core/core.services.yml \menu.active_trail
- 9 core/core.services.yml \menu.active_trail
Class
Drupal\Core\Menu\MenuActiveTrailTags
- needs_destruction
3 string references to menu.active_trail
- MenuActiveTrailsCacheContext::getContext in core/
lib/ Drupal/ Core/ Cache/ Context/ MenuActiveTrailsCacheContext.php - Returns the string representation of the cache context.
- SystemMenuBlock::create in core/
modules/ system/ src/ Plugin/ Block/ SystemMenuBlock.php - SystemMenuBlockTest::testConfigLevelDepth in core/
modules/ system/ tests/ src/ Kernel/ Block/ SystemMenuBlockTest.php - Tests the config start level and depth.
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 }