service cache_context.route.name in Drupal 10
Same name and namespace in other branches
- 8 core/core.services.yml \cache_context.route.name
- 9 core/core.services.yml \cache_context.route.name
Class
Drupal\Core\Cache\Context\RouteNameCacheContextTags
- cache.context
File
- core/
core.services.yml - core/core.services.yml
View source
- class: Drupal\Core\Cache\Context\RouteNameCacheContext
- arguments:
- - '@current_route_match'
- tags:
- - { name: cache.context }