language_negotiation_url_prefixes()
Reads language prefixes and uses the langcode if no prefix is set.
Deprecated
in Drupal 8.0.x-dev, will be removed before Drupal 9.0.0. Use \Drupal::config('language.negotiation')->get('url.prefixes') instead.
File
- core/modules/language/language.module, line 276
- Add language handling functionality to Drupal.
Code
function language_negotiation_url_prefixes() { return \Drupal::config('language.negotiation')->get('url.prefixes'); }
Please login to continue.