You are here

service cache_context.user.permissions in Drupal 10

Same name and namespace in other branches
  1. 8 core/core.services.yml \cache_context.user.permissions
  2. 9 core/core.services.yml \cache_context.user.permissions

Class

Drupal\Core\Cache\Context\AccountPermissionsCacheContext

Tags

  • cache.context

File

core/core.services.yml
core/core.services.yml

View source
  1. class: Drupal\Core\Cache\Context\AccountPermissionsCacheContext
  2. arguments:
  3. - '@current_user'
  4. - '@user_permissions_hash_generator'
  5. tags:
  6. - { name: cache.context }