public function AccountProxy::getPreferredAdminLangcode in Drupal 10
Same name and namespace in other branches
- 8 core/lib/Drupal/Core/Session/AccountProxy.php \Drupal\Core\Session\AccountProxy::getPreferredAdminLangcode()
- 9 core/lib/Drupal/Core/Session/AccountProxy.php \Drupal\Core\Session\AccountProxy::getPreferredAdminLangcode()
File
- core/
lib/ Drupal/ Core/ Session/ AccountProxy.php, line 132
Class
- AccountProxy
- A proxied implementation of AccountInterface.
Namespace
Drupal\Core\SessionCode
public function getPreferredAdminLangcode($fallback_to_default = TRUE) {
return $this
->getAccount()
->getPreferredAdminLangcode($fallback_to_default);
}