cache_context.route.menu_active_trails

Same name in other branches
  1. 8.9.x core/core.services.yml \cache_context.route.menu_active_trails
  2. 10 core/core.services.yml \cache_context.route.menu_active_trails

Class

Drupal\Core\Cache\Context\MenuActiveTrailsCacheContext

Tags

  • cache.context

File

core/core.services.yml

View source
  1. class: Drupal\Core\Cache\Context\MenuActiveTrailsCacheContext
  2. calls:
  3. - [setContainer, ['@service_container']]
  4. tags:
  5. - { name: cache.context }

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