You are here

service cache_context.user.is_group_member in Group 8

Same name and namespace in other branches
  1. 2.0.x group.services.yml \cache_context.user.is_group_member

Class

Drupal\group\Cache\Context\IsGroupMemberCacheContext

Tags

  • cache.context

File

./group.services.yml
group.services.yml

View source
  1. class: Drupal\group\Cache\Context\IsGroupMemberCacheContext
  2. arguments:
  3. - '@current_user'
  4. - '@entity_type.manager'
  5. - '@group.membership_loader'
  6. tags:
  7. - { name: cache.context }