You are here

protected property LanguageRequestSubscriber::$currentUser in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/language/src/EventSubscriber/LanguageRequestSubscriber.php \Drupal\language\EventSubscriber\LanguageRequestSubscriber::currentUser
  2. 9 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\EventSubscriber

Code

protected $currentUser;