constant LANGUAGE_NEGOTIATION_URL

The language is determined using path prefix or domain.

3 uses of LANGUAGE_NEGOTIATION_URL
LanguageUILanguageNegotiationTest::testUILanguageNegotiation in drupal/core/modules/language/lib/Drupal/language/Tests/LanguageUILanguageNegotiationTest.php
Tests for language switching by URL path.
language_from_url in drupal/core/modules/language/language.negotiation.inc
Identify language via URL prefix or domain.
language_language_types_info in drupal/core/modules/language/language.module
Implements hook_language_types_info().

File

drupal/core/modules/language/language.negotiation.inc, line 11
Language negotiation functions.

Code

const LANGUAGE_NEGOTIATION_URL = 'language-url';