function language_negotiation_url_domains in Drupal 8
Reads language domains.
Deprecated
in drupal:8.0.0 and is removed from drupal:9.0.0. Use \Drupal::config('language.negotiation')->get('url.domains') instead.
See also
https://www.drupal.org/node/2912748
File
- core/
modules/ language/ language.module, line 310 - Add language handling functionality to Drupal.
Code
function language_negotiation_url_domains() {
@trigger_error("language_negotiation_url_domains() is deprecated in drupal:8.0.0 and is removed from drupal:9.0.0. Use \\Drupal::config('language.negotiation')->get('url.domains') instead. See https://www.drupal.org/node/2912748", E_USER_DEPRECATED);
return \Drupal::config('language.negotiation')
->get('url.domains');
}