user.current_user_context

Same name in other branches
  1. 9 core/modules/user/user.services.yml \user.current_user_context
  2. 8.9.x core/modules/user/user.services.yml \user.current_user_context
  3. 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

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

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.