LanguageRequestSubscriber::$currentUser
Same name in other branches
- 9 core/modules/language/src/EventSubscriber/LanguageRequestSubscriber.php \Drupal\language\EventSubscriber\LanguageRequestSubscriber::currentUser
- 8.9.x core/modules/language/src/EventSubscriber/LanguageRequestSubscriber.php \Drupal\language\EventSubscriber\LanguageRequestSubscriber::currentUser
- 10 core/modules/language/src/EventSubscriber/LanguageRequestSubscriber.php \Drupal\language\EventSubscriber\LanguageRequestSubscriber::currentUser
The current active user.
Type: \Drupal\Core\Session\AccountInterface
File
-
core/
modules/ language/ src/ EventSubscriber/ LanguageRequestSubscriber.php, line 45
Class
- LanguageRequestSubscriber
- Sets the $request property on the language manager.
Namespace
Drupal\language\EventSubscriberCode
protected $currentUser;
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.