LanguageNegotiator::$currentUser
Same name in other branches
- 8.9.x core/modules/language/src/LanguageNegotiator.php \Drupal\language\LanguageNegotiator::currentUser
- 10 core/modules/language/src/LanguageNegotiator.php \Drupal\language\LanguageNegotiator::currentUser
- 11.x core/modules/language/src/LanguageNegotiator.php \Drupal\language\LanguageNegotiator::currentUser
The current active user.
Type: \Drupal\Core\Session\AccountInterface
File
-
core/
modules/ language/ src/ LanguageNegotiator.php, line 60
Class
- LanguageNegotiator
- Class responsible for performing language negotiation.
Namespace
Drupal\languageCode
protected $currentUser;
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.