cache_context.route
Same name in other branches
- 8.9.x core/core.services.yml \cache_context.route
- 10 core/core.services.yml \cache_context.route
Class
Drupal\Core\Cache\Context\RouteCacheContextTags
- cache.context
File
-
core/
core.services.yml
View source
- class: Drupal\Core\Cache\Context\RouteCacheContext
- arguments:
- - '@current_route_match'
- tags:
- - { name: cache.context }
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.