| LanguageNegotiator::purgeConfiguration |
function |
core/modules/language/src/LanguageNegotiator.php |
|
| LanguageNegotiator::reset |
function |
core/modules/language/src/LanguageNegotiator.php |
|
| LanguageNegotiator::saveConfiguration |
function |
core/modules/language/src/LanguageNegotiator.php |
|
| LanguageNegotiator::setCurrentUser |
function |
core/modules/language/src/LanguageNegotiator.php |
|
| LanguageNegotiator::updateConfiguration |
function |
core/modules/language/src/LanguageNegotiator.php |
|
| LanguageNegotiator::__construct |
function |
core/modules/language/src/LanguageNegotiator.php |
Constructs a new LanguageNegotiator object. |
| LanguageNegotiatorInterface |
interface |
core/modules/language/src/LanguageNegotiatorInterface.php |
Common interface for language negotiation services. |
| LanguageNegotiatorInterface.php |
file |
core/modules/language/src/LanguageNegotiatorInterface.php |
|
| LanguageNegotiatorInterface::getNegotiationMethodInstance |
function |
core/modules/language/src/LanguageNegotiatorInterface.php |
Returns an instance of the specified language negotiation method. |
| LanguageNegotiatorInterface::getNegotiationMethods |
function |
core/modules/language/src/LanguageNegotiatorInterface.php |
Returns the language negotiation methods enabled for a language type. |
| LanguageNegotiatorInterface::getPrimaryNegotiationMethod |
function |
core/modules/language/src/LanguageNegotiatorInterface.php |
Returns the ID of the language type's primary language negotiation method. |
| LanguageNegotiatorInterface::initializeType |
function |
core/modules/language/src/LanguageNegotiatorInterface.php |
Initializes the specified language type. |
| LanguageNegotiatorInterface::isNegotiationMethodEnabled |
function |
core/modules/language/src/LanguageNegotiatorInterface.php |
Checks if a language negotiation method is enabled for a language type. |
| LanguageNegotiatorInterface::METHOD_ID |
constant |
core/modules/language/src/LanguageNegotiatorInterface.php |
The language negotiation method id for the language negotiator itself. |
| LanguageNegotiatorInterface::purgeConfiguration |
function |
core/modules/language/src/LanguageNegotiatorInterface.php |
Resave the configuration to purge missing negotiation methods. |
| LanguageNegotiatorInterface::reset |
function |
core/modules/language/src/LanguageNegotiatorInterface.php |
Resets the negotiated languages and the method instances. |
| LanguageNegotiatorInterface::saveConfiguration |
function |
core/modules/language/src/LanguageNegotiatorInterface.php |
Saves a list of language negotiation methods for a language type. |
| LanguageNegotiatorInterface::setCurrentUser |
function |
core/modules/language/src/LanguageNegotiatorInterface.php |
Sets the current active user and resets all language types. |
| LanguageNegotiatorInterface::updateConfiguration |
function |
core/modules/language/src/LanguageNegotiatorInterface.php |
Updates the configuration based on the given language types. |
| LanguageNegotiatorPluginTest |
class |
core/modules/language/tests/src/Kernel/LanguageNegotiatorPluginTest.php |
Tests PluginNotFoundException. |
| LanguageNegotiatorPluginTest.php |
file |
core/modules/language/tests/src/Kernel/LanguageNegotiatorPluginTest.php |
|
| LanguageNegotiatorPluginTest::$modules |
property |
core/modules/language/tests/src/Kernel/LanguageNegotiatorPluginTest.php |
|
| LanguageNegotiatorPluginTest::testLanguageNegotiatorNoPlugin |
function |
core/modules/language/tests/src/Kernel/LanguageNegotiatorPluginTest.php |
Tests for PluginNotFoundException. |
| LanguagePathMonolingualTest |
class |
core/modules/language/tests/src/Functional/LanguagePathMonolingualTest.php |
Confirm that paths are not changed on monolingual non-English sites. |
| LanguagePathMonolingualTest.php |
file |
core/modules/language/tests/src/Functional/LanguagePathMonolingualTest.php |
|
| LanguagePathMonolingualTest::$defaultTheme |
property |
core/modules/language/tests/src/Functional/LanguagePathMonolingualTest.php |
|
| LanguagePathMonolingualTest::$modules |
property |
core/modules/language/tests/src/Functional/LanguagePathMonolingualTest.php |
|
| LanguagePathMonolingualTest::setUp |
function |
core/modules/language/tests/src/Functional/LanguagePathMonolingualTest.php |
|
| LanguagePathMonolingualTest::testPageLinks |
function |
core/modules/language/tests/src/Functional/LanguagePathMonolingualTest.php |
Verifies that links do not have language prefixes in them. |
| LanguagePluginTest |
class |
core/modules/ckeditor5/tests/src/Unit/LanguagePluginTest.php |
Tests Drupal\ckeditor5\Plugin\CKEditor5Plugin\Language. |
| LanguagePluginTest.php |
file |
core/modules/ckeditor5/tests/src/Unit/LanguagePluginTest.php |
|
| LanguagePluginTest::buildExpectedDynamicConfig |
function |
core/modules/ckeditor5/tests/src/Unit/LanguagePluginTest.php |
Builds the expected dynamic configuration output given a language list. |
| LanguagePluginTest::providerGetDynamicPluginConfig |
function |
core/modules/ckeditor5/tests/src/Unit/LanguagePluginTest.php |
Provides a list of configs to test. |
| LanguagePluginTest::testGetDynamicPluginConfig |
function |
core/modules/ckeditor5/tests/src/Unit/LanguagePluginTest.php |
Tests get dynamic plugin config. |
| LanguageReference |
class |
core/lib/Drupal/Core/TypedData/Plugin/DataType/LanguageReference.php |
Defines the 'language_reference' data type. |
| LanguageReference.php |
file |
core/lib/Drupal/Core/TypedData/Plugin/DataType/LanguageReference.php |
|
| LanguageReference::getAllValidLangcodes |
function |
core/lib/Drupal/Core/TypedData/Plugin/DataType/LanguageReference.php |
Returns all valid values for a `langcode` config value. |
| LanguageReference::getTargetIdentifier |
function |
core/lib/Drupal/Core/TypedData/Plugin/DataType/LanguageReference.php |
Gets the identifier of the referenced data. |
| LanguageRequestSubscriber |
class |
core/modules/language/src/EventSubscriber/LanguageRequestSubscriber.php |
Sets the $request property on the language manager. |
| LanguageRequestSubscriber.php |
file |
core/modules/language/src/EventSubscriber/LanguageRequestSubscriber.php |
|
| LanguageRequestSubscriber::$currentUser |
property |
core/modules/language/src/EventSubscriber/LanguageRequestSubscriber.php |
The current active user. |
| LanguageRequestSubscriber::$languageManager |
property |
core/modules/language/src/EventSubscriber/LanguageRequestSubscriber.php |
The language manager service. |
| LanguageRequestSubscriber::$negotiator |
property |
core/modules/language/src/EventSubscriber/LanguageRequestSubscriber.php |
The language negotiator. |
| LanguageRequestSubscriber::$translation |
property |
core/modules/language/src/EventSubscriber/LanguageRequestSubscriber.php |
The translation service. |
| LanguageRequestSubscriber::getSubscribedEvents |
function |
core/modules/language/src/EventSubscriber/LanguageRequestSubscriber.php |
Registers the methods in this class that should be listeners. |
| LanguageRequestSubscriber::onContainerInitializeSubrequestFinished |
function |
core/modules/language/src/EventSubscriber/LanguageRequestSubscriber.php |
Initializes config overrides whenever the service container is rebuilt. |
| LanguageRequestSubscriber::onKernelRequestLanguage |
function |
core/modules/language/src/EventSubscriber/LanguageRequestSubscriber.php |
Initializes the language manager at the beginning of the request. |
| LanguageRequestSubscriber::setLanguageOverrides |
function |
core/modules/language/src/EventSubscriber/LanguageRequestSubscriber.php |
Sets the language for config overrides on the language manager. |
| LanguageRequestSubscriber::__construct |
function |
core/modules/language/src/EventSubscriber/LanguageRequestSubscriber.php |
Constructs a LanguageRequestSubscriber object. |
| LanguagesCacheContext |
class |
core/lib/Drupal/Core/Cache/Context/LanguagesCacheContext.php |
Defines the LanguagesCacheContext service, for "per language" caching. |