constant LANGUAGE_NEGOTIATION_USER

The language is set based on the user language settings.

1 use of LANGUAGE_NEGOTIATION_USER
LanguageUILanguageNegotiationTest::testUILanguageNegotiation in drupal/core/modules/language/lib/Drupal/language/Tests/LanguageUILanguageNegotiationTest.php
Tests for language switching by URL path.

File

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

Code

const LANGUAGE_NEGOTIATION_USER = 'language-user';