LanguageNegotiationUser::METHOD_ID
Same name in other branches
- 9 core/modules/user/src/Plugin/LanguageNegotiation/LanguageNegotiationUser.php \Drupal\user\Plugin\LanguageNegotiation\LanguageNegotiationUser::METHOD_ID
- 8.9.x core/modules/user/src/Plugin/LanguageNegotiation/LanguageNegotiationUser.php \Drupal\user\Plugin\LanguageNegotiation\LanguageNegotiationUser::METHOD_ID
- 11.x core/modules/user/src/Plugin/LanguageNegotiation/LanguageNegotiationUser.php \Drupal\user\Plugin\LanguageNegotiation\LanguageNegotiationUser::METHOD_ID
The language negotiation method id.
File
-
core/
modules/ user/ src/ Plugin/ LanguageNegotiation/ LanguageNegotiationUser.php, line 24
Class
- LanguageNegotiationUser
- Class for identifying language from the user preferences.
Namespace
Drupal\user\Plugin\LanguageNegotiationCode
const METHOD_ID = 'language-user';
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.