user.current_user_context
Same name 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
- 11.x core/modules/user/user.services.yml \user.current_user_context
Class
Drupal\user\ContextProvider\CurrentUserContextTags
- context_provider
File
-
core/
modules/ user/ user.services.yml
View source
- class: Drupal\user\ContextProvider\CurrentUserContext
- arguments:
- - '@current_user'
- - '@entity_type.manager'
- tags:
- - { name: context_provider }
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.