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