Same name and namespace in other branches
- 8.9.x core/lib/Drupal/Core/Session/UserSession.php \Drupal\Core\Session\UserSession::preferred_langcode
- 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 48
Class
Namespace
Drupal\Core\SessionCode
protected $preferred_langcode;