constant LANGUAGE_NEGOTIATION_URL_DOMAIN

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

6 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.
NegotiationUrlForm::buildForm in drupal/core/modules/language/lib/Drupal/language/Form/NegotiationUrlForm.php
Implements \Drupal\Core\Form\FormInterface::buildForm().

... See full list

File

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

Code

const LANGUAGE_NEGOTIATION_URL_DOMAIN = 'domain';