LanguageNegotiationUrl::CONFIG_PATH_PREFIX

Same name in other branches
  1. 9 core/modules/language/src/Plugin/LanguageNegotiation/LanguageNegotiationUrl.php \Drupal\language\Plugin\LanguageNegotiation\LanguageNegotiationUrl::CONFIG_PATH_PREFIX
  2. 8.9.x core/modules/language/src/Plugin/LanguageNegotiation/LanguageNegotiationUrl.php \Drupal\language\Plugin\LanguageNegotiation\LanguageNegotiationUrl::CONFIG_PATH_PREFIX
  3. 11.x core/modules/language/src/Plugin/LanguageNegotiation/LanguageNegotiationUrl.php \Drupal\language\Plugin\LanguageNegotiation\LanguageNegotiationUrl::CONFIG_PATH_PREFIX

URL language negotiation: use the path prefix as URL language indicator.

File

core/modules/language/src/Plugin/LanguageNegotiation/LanguageNegotiationUrl.php, line 40

Class

LanguageNegotiationUrl
Class for identifying language via URL prefix or domain.

Namespace

Drupal\language\Plugin\LanguageNegotiation

Code

const CONFIG_PATH_PREFIX = 'path_prefix';

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.