protected property UserSession::$preferred_langcode in Drupal 10
Same name and namespace in other branches
- 8 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 47
Class
- UserSession
- An implementation of the user account interface for the global user.
Namespace
Drupal\Core\SessionCode
protected $preferred_langcode;