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