menu.active_trail

Same name in other branches
  1. 8.9.x core/core.services.yml \menu.active_trail
  2. 10 core/core.services.yml \menu.active_trail

Class

Drupal\Core\Menu\MenuActiveTrail

Tags

  • 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

View source
  1. class: Drupal\Core\Menu\MenuActiveTrail
  2. arguments:
  3. - '@plugin.manager.menu.link'
  4. - '@current_route_match'
  5. - '@cache.menu'
  6. - '@lock'
  7. tags:
  8. - { name: needs_destruction }

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