constant LANGUAGE_NEGOTIATION_URL_DOMAIN

URL language negotiation: use the domain as URL language indicator.

7 uses of LANGUAGE_NEGOTIATION_URL_DOMAIN
LanguageUILanguageNegotiationTest::testLanguageDomain in drupal/core/modules/language/lib/Drupal/language/Tests/LanguageUILanguageNegotiationTest.php
Tests url() when separate domains are used for multiple languages.
LanguageUILanguageNegotiationTest::testUILanguageNegotiation in drupal/core/modules/language/lib/Drupal/language/Tests/LanguageUILanguageNegotiationTest.php
Tests for language switching by URL path.
LanguageUrlRewritingTest::testDomainNameNegotiationPort in drupal/core/modules/language/lib/Drupal/language/Tests/LanguageUrlRewritingTest.php
Check URL rewriting when using a domain name and a non-standard port.
language_from_url in drupal/core/modules/language/language.negotiation.inc
Identify language via URL prefix or domain.
language_negotiation_configure_url_form in drupal/core/modules/language/language.admin.inc
Builds the URL language negotiation method configuration form.

... See full list

File

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

Code

const LANGUAGE_NEGOTIATION_URL_DOMAIN = 'domain';