LanguageNegotiationUrl::METHOD_ID

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

The language negotiation method id.

File

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

Class

LanguageNegotiationUrl
Class for identifying language via URL prefix or domain.

Namespace

Drupal\language\Plugin\LanguageNegotiation

Code

const METHOD_ID = 'language-url';

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