language_negotiation_url_domains

language_negotiation_url_domains()

Reads language domains.

Deprecated

in Drupal 8.0.x-dev, will be removed before Drupal 9.0.0. Use \Drupal::config('language.negotiation')->get('url.domains') instead.

File

core/modules/language/language.module, line 305
Add language handling functionality to Drupal.

Code

function language_negotiation_url_domains() {
  return \Drupal::config('language.negotiation')->get('url.domains');
}
doc_Drupal
2016-10-29 09:23:03
Comments
Leave a Comment

Please login to continue.