cache_context.user.permissions
Same name in other branches
- 9 core/core.services.yml \cache_context.user.permissions
- 10 core/core.services.yml \cache_context.user.permissions
Class
Drupal\Core\Cache\Context\AccountPermissionsCacheContextTags
- cache.context
File
-
core/
core.services.yml
View source
- class: Drupal\Core\Cache\Context\AccountPermissionsCacheContext
- arguments:
- - '@current_user'
- - '@user_permissions_hash_generator'
- tags:
- - { name: cache.context }
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.