You are here

protected property UserSession::$preferred_langcode in Drupal 10

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/Session/UserSession.php \Drupal\Core\Session\UserSession::preferred_langcode
  2. 9 core/lib/Drupal/Core/Session/UserSession.php \Drupal\Core\Session\UserSession::preferred_langcode

The preferred language code of the account.

Type: string

File

core/lib/Drupal/Core/Session/UserSession.php, line 47

Class

UserSession
An implementation of the user account interface for the global user.

Namespace

Drupal\Core\Session

Code

protected $preferred_langcode;