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