You are here

service cache_context.user.roles in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/core.services.yml \cache_context.user.roles

Class

Drupal\Core\Cache\Context\UserRolesCacheContext

Tags

  • cache.context

File

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

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