You are here

function language_negotiation_url_domains in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/language/language.module \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');
}