You are here

service user.current_user_context in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/user/user.services.yml \user.current_user_context
  2. 10 core/modules/user/user.services.yml \user.current_user_context

Class

Drupal\user\ContextProvider\CurrentUserContext

Tags

  • context_provider

File

core/modules/user/user.services.yml
core/modules/user/user.services.yml

View source
  1. class: Drupal\user\ContextProvider\CurrentUserContext
  2. arguments:
  3. - '@current_user'
  4. - '@entity_type.manager'
  5. tags:
  6. - { name: context_provider }