service cache_context.user.node_grants in Drupal 10
Same name and namespace in other branches
- 8 core/modules/node/node.services.yml \cache_context.user.node_grants
- 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 }