LanguageNegotiationContentEntity::$contentEntityPaths |
property |
core/modules/language/src/Plugin/LanguageNegotiation/LanguageNegotiationContentEntity.php |
A list of all the link paths of enabled content entities. |
LanguageNegotiationContentEntity::$entityTypeManager |
property |
core/modules/language/src/Plugin/LanguageNegotiation/LanguageNegotiationContentEntity.php |
The entity type manager. |
LanguageNegotiationContentEntity::$hasLowerLanguageNegotiationWeightResult |
property |
core/modules/language/src/Plugin/LanguageNegotiation/LanguageNegotiationContentEntity.php |
Static cache for the language negotiation order check. |
LanguageNegotiationContentEntity::$paths |
property |
core/modules/language/src/Plugin/LanguageNegotiation/LanguageNegotiationContentEntity.php |
Static cache of outbound route paths per request. |
LanguageNegotiationContentEntity::create |
function |
core/modules/language/src/Plugin/LanguageNegotiation/LanguageNegotiationContentEntity.php |
Creates an instance of the plugin. |
LanguageNegotiationContentEntity::getContentEntityPaths |
function |
core/modules/language/src/Plugin/LanguageNegotiation/LanguageNegotiationContentEntity.php |
Returns the paths for the link templates of all content entities. |
LanguageNegotiationContentEntity::getContentEntityTypeIdForCurrentRequest |
function |
core/modules/language/src/Plugin/LanguageNegotiation/LanguageNegotiationContentEntity.php |
Returns the content entity type ID from the current request for the route. |
LanguageNegotiationContentEntity::getLangcode |
function |
core/modules/language/src/Plugin/LanguageNegotiation/LanguageNegotiationContentEntity.php |
Performs language negotiation. |
LanguageNegotiationContentEntity::getLanguageSwitchLinks |
function |
core/modules/language/src/Plugin/LanguageNegotiation/LanguageNegotiationContentEntity.php |
Returns language switch links. |
LanguageNegotiationContentEntity::hasLowerLanguageNegotiationWeight |
function |
core/modules/language/src/Plugin/LanguageNegotiation/LanguageNegotiationContentEntity.php |
Determines if content entity language negotiator has higher priority. |
LanguageNegotiationContentEntity::meetsContentEntityRoutesCondition |
function |
core/modules/language/src/Plugin/LanguageNegotiation/LanguageNegotiationContentEntity.php |
Determines if content entity route condition is met. |
LanguageNegotiationContentEntity::METHOD_ID |
constant |
core/modules/language/src/Plugin/LanguageNegotiation/LanguageNegotiationContentEntity.php |
The language negotiation method ID. |
LanguageNegotiationContentEntity::processOutbound |
function |
core/modules/language/src/Plugin/LanguageNegotiation/LanguageNegotiationContentEntity.php |
Processes the outbound path. |
LanguageNegotiationContentEntity::QUERY_PARAMETER |
constant |
core/modules/language/src/Plugin/LanguageNegotiation/LanguageNegotiationContentEntity.php |
The query string parameter. |
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. |