service user.current_user_context in Drupal 10
Same name and namespace in other branches
- 8 core/modules/user/user.services.yml \user.current_user_context
- 9 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 }