protected NegotiationBrowserForm::language_get_browser_drupal_langcode_mappings()
Retrieves the browser's langcode mapping configuration array.
Return value
array The browser's langcode mapping configuration array.
File
- core/modules/language/src/Form/NegotiationBrowserForm.php, line 207
Class
- NegotiationBrowserForm
- Configure the browser language negotiation method for this site.
Namespace
Drupal\language\Form
Code
protected function language_get_browser_drupal_langcode_mappings() { $config = $this->config('language.mappings'); if ($config->isNew()) { return array(); } return $config->get('map'); }
Please login to continue.