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