You are here

service cache_context.user.node_grants in Drupal 8

Same name and namespace in other branches
  1. 9 core/modules/node/node.services.yml \cache_context.user.node_grants

Class

Drupal\node\Cache\NodeAccessGrantsCacheContext

Tags

  • cache.context

File

core/modules/node/node.services.yml
core/modules/node/node.services.yml

View source
  1. class: Drupal\node\Cache\NodeAccessGrantsCacheContext
  2. arguments:
  3. - '@current_user'
  4. tags:
  5. - { name: cache.context }