LanguageNegotiationContentEntity::__construct |
function |
core/modules/language/src/Plugin/LanguageNegotiation/LanguageNegotiationContentEntity.php |
Constructs a new LanguageNegotiationContentEntity instance. |
LanguageNegotiationContentEntityTest |
class |
core/modules/language/tests/src/Functional/LanguageNegotiationContentEntityTest.php |
Tests language negotiation with the language negotiator content entity. |
LanguageNegotiationContentEntityTest.php |
file |
core/modules/language/tests/src/Functional/LanguageNegotiationContentEntityTest.php |
|
LanguageNegotiationContentEntityTest::$defaultTheme |
property |
core/modules/language/tests/src/Functional/LanguageNegotiationContentEntityTest.php |
The theme to install as the default for testing. |
LanguageNegotiationContentEntityTest::$entity |
property |
core/modules/language/tests/src/Functional/LanguageNegotiationContentEntityTest.php |
The entity being used for testing. |
LanguageNegotiationContentEntityTest::$modules |
property |
core/modules/language/tests/src/Functional/LanguageNegotiationContentEntityTest.php |
Modules to enable. |
LanguageNegotiationContentEntityTest::createTranslatableEntity |
function |
core/modules/language/tests/src/Functional/LanguageNegotiationContentEntityTest.php |
Creates a translated entity. |
LanguageNegotiationContentEntityTest::setCurrentRequestForRoute |
function |
core/modules/language/tests/src/Functional/LanguageNegotiationContentEntityTest.php |
Sets the current request to a specific path with the corresponding route. |
LanguageNegotiationContentEntityTest::setUp |
function |
core/modules/language/tests/src/Functional/LanguageNegotiationContentEntityTest.php |
|
LanguageNegotiationContentEntityTest::testDefaultConfiguration |
function |
core/modules/language/tests/src/Functional/LanguageNegotiationContentEntityTest.php |
Tests default with content language remaining same as interface language. |
LanguageNegotiationContentEntityTest::testEnabledLanguageContentNegotiator |
function |
core/modules/language/tests/src/Functional/LanguageNegotiationContentEntityTest.php |
Tests enabling the language negotiator language_content_entity. |
LanguageNegotiationFormOverrideTest |
class |
core/modules/config/tests/src/Functional/LanguageNegotiationFormOverrideTest.php |
Tests language-negotiation overrides are not on language-negotiation form. |
LanguageNegotiationFormOverrideTest.php |
file |
core/modules/config/tests/src/Functional/LanguageNegotiationFormOverrideTest.php |
|
LanguageNegotiationFormOverrideTest::$defaultTheme |
property |
core/modules/config/tests/src/Functional/LanguageNegotiationFormOverrideTest.php |
The theme to install as the default for testing. |
LanguageNegotiationFormOverrideTest::$modules |
property |
core/modules/config/tests/src/Functional/LanguageNegotiationFormOverrideTest.php |
Modules to enable. |
LanguageNegotiationFormOverrideTest::testFormWithOverride |
function |
core/modules/config/tests/src/Functional/LanguageNegotiationFormOverrideTest.php |
Tests that overrides do not affect language-negotiation form values. |
LanguageNegotiationInfoTest |
class |
core/modules/language/tests/src/Functional/LanguageNegotiationInfoTest.php |
Tests alterations to language types/negotiation info. |
LanguageNegotiationInfoTest.php |
file |
core/modules/language/tests/src/Functional/LanguageNegotiationInfoTest.php |
|
LanguageNegotiationInfoTest::$defaultTheme |
property |
core/modules/language/tests/src/Functional/LanguageNegotiationInfoTest.php |
The theme to install as the default for testing. |
LanguageNegotiationInfoTest::$modules |
property |
core/modules/language/tests/src/Functional/LanguageNegotiationInfoTest.php |
Modules to enable. |
LanguageNegotiationInfoTest::checkFixedLanguageTypes |
function |
core/modules/language/tests/src/Functional/LanguageNegotiationInfoTest.php |
Check that language negotiation for fixed types matches the stored one. |
LanguageNegotiationInfoTest::isLanguageTypeConfigurable |
function |
core/modules/language/tests/src/Functional/LanguageNegotiationInfoTest.php |
Checks whether the given language type is configurable. |
LanguageNegotiationInfoTest::languageManager |
function |
core/modules/language/tests/src/Functional/LanguageNegotiationInfoTest.php |
Returns the configurable language manager. |
LanguageNegotiationInfoTest::setUp |
function |
core/modules/language/tests/src/Functional/LanguageNegotiationInfoTest.php |
|
LanguageNegotiationInfoTest::stateSet |
function |
core/modules/language/tests/src/Functional/LanguageNegotiationInfoTest.php |
Sets state flags for language_test module. |
LanguageNegotiationInfoTest::testConfigLangTypeAlterations |
function |
core/modules/language/tests/src/Functional/LanguageNegotiationInfoTest.php |
Tests altering config of configurable language types. |
LanguageNegotiationInfoTest::testInfoAlterations |
function |
core/modules/language/tests/src/Functional/LanguageNegotiationInfoTest.php |
Tests alterations to language types/negotiation info. |
LanguageNegotiationMethodBase |
class |
core/modules/language/src/LanguageNegotiationMethodBase.php |
Base class for language negotiation methods. |
LanguageNegotiationMethodBase.php |
file |
core/modules/language/src/LanguageNegotiationMethodBase.php |
|
LanguageNegotiationMethodBase::$config |
property |
core/modules/language/src/LanguageNegotiationMethodBase.php |
The configuration factory. |
LanguageNegotiationMethodBase::$currentUser |
property |
core/modules/language/src/LanguageNegotiationMethodBase.php |
The current active user. |
LanguageNegotiationMethodBase::$languageManager |
property |
core/modules/language/src/LanguageNegotiationMethodBase.php |
The language manager. |
LanguageNegotiationMethodBase::persist |
function |
core/modules/language/src/LanguageNegotiationMethodBase.php |
Notifies the plugin that the language code it returned has been accepted. |
LanguageNegotiationMethodBase::setConfig |
function |
core/modules/language/src/LanguageNegotiationMethodBase.php |
Injects the configuration factory. |
LanguageNegotiationMethodBase::setCurrentUser |
function |
core/modules/language/src/LanguageNegotiationMethodBase.php |
Injects the current user. |
LanguageNegotiationMethodBase::setLanguageManager |
function |
core/modules/language/src/LanguageNegotiationMethodBase.php |
Injects the language manager. |
LanguageNegotiationMethodInterface |
interface |
core/modules/language/src/LanguageNegotiationMethodInterface.php |
Interface for language negotiation classes. |
LanguageNegotiationMethodInterface.php |
file |
core/modules/language/src/LanguageNegotiationMethodInterface.php |
|
LanguageNegotiationMethodInterface::getLangcode |
function |
core/modules/language/src/LanguageNegotiationMethodInterface.php |
Performs language negotiation. |
LanguageNegotiationMethodInterface::persist |
function |
core/modules/language/src/LanguageNegotiationMethodInterface.php |
Notifies the plugin that the language code it returned has been accepted. |
LanguageNegotiationMethodInterface::setConfig |
function |
core/modules/language/src/LanguageNegotiationMethodInterface.php |
Injects the configuration factory. |
LanguageNegotiationMethodInterface::setCurrentUser |
function |
core/modules/language/src/LanguageNegotiationMethodInterface.php |
Injects the current user. |
LanguageNegotiationMethodInterface::setLanguageManager |
function |
core/modules/language/src/LanguageNegotiationMethodInterface.php |
Injects the language manager. |
LanguageNegotiationMethodManager |
class |
core/modules/language/src/LanguageNegotiationMethodManager.php |
Manages language negotiation methods. |
LanguageNegotiationMethodManager.php |
file |
core/modules/language/src/LanguageNegotiationMethodManager.php |
|
LanguageNegotiationMethodManager::__construct |
function |
core/modules/language/src/LanguageNegotiationMethodManager.php |
Constructs a new LanguageNegotiationMethodManager object. |
LanguageNegotiationSelected |
class |
core/modules/language/src/Plugin/LanguageNegotiation/LanguageNegotiationSelected.php |
Class for identifying language from a selected language. |
LanguageNegotiationSelected.php |
file |
core/modules/language/src/Plugin/LanguageNegotiation/LanguageNegotiationSelected.php |
|
LanguageNegotiationSelected::getLangcode |
function |
core/modules/language/src/Plugin/LanguageNegotiation/LanguageNegotiationSelected.php |
Performs language negotiation. |
LanguageNegotiationSelected::METHOD_ID |
constant |
core/modules/language/src/Plugin/LanguageNegotiation/LanguageNegotiationSelected.php |
The language negotiation method id. |