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