function language_negotiation_url_domains
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
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');
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.