service user.current_user_context in Drupal 8
Same name and namespace in other branches
- 9 core/modules/user/user.services.yml \user.current_user_context
- 10 core/modules/user/user.services.yml \user.current_user_context
Class
Drupal\user\ContextProvider\CurrentUserContextTags
- context_provider
File
- core/
modules/ user/ user.services.yml - core/modules/user/user.services.yml
View source
- class: Drupal\user\ContextProvider\CurrentUserContext
- arguments:
- - '@current_user'
- - '@entity_type.manager'
- tags:
- - { name: context_provider }