LanguageNegotiationMethodBase::$currentUser

Same name in other branches
  1. 9 core/modules/language/src/LanguageNegotiationMethodBase.php \Drupal\language\LanguageNegotiationMethodBase::currentUser
  2. 10 core/modules/language/src/LanguageNegotiationMethodBase.php \Drupal\language\LanguageNegotiationMethodBase::currentUser
  3. 11.x core/modules/language/src/LanguageNegotiationMethodBase.php \Drupal\language\LanguageNegotiationMethodBase::currentUser

The current active user.

Type: \Drupal\Core\Session\AccountInterface

File

core/modules/language/src/LanguageNegotiationMethodBase.php, line 33

Class

LanguageNegotiationMethodBase
Base class for language negotiation methods.

Namespace

Drupal\language

Code

protected $currentUser;

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.