LanguageNegotiationUrlTest::providerTestPathPrefix |
function |
core/modules/language/tests/src/Unit/LanguageNegotiationUrlTest.php |
Provides data for the path prefix test. |
LanguageNegotiationUrlTest::setUp |
function |
core/modules/language/tests/src/Unit/LanguageNegotiationUrlTest.php |
|
LanguageNegotiationUrlTest::setUp |
function |
core/modules/language/tests/src/Functional/LanguageNegotiationUrlTest.php |
|
LanguageNegotiationUrlTest::testDomain |
function |
core/modules/language/tests/src/Functional/LanguageNegotiationUrlTest.php |
@covers ::processInbound |
LanguageNegotiationUrlTest::testDomain |
function |
core/modules/language/tests/src/Unit/LanguageNegotiationUrlTest.php |
Test domain language negotiation and outbound path processing. |
LanguageNegotiationUrlTest::testPathPrefix |
function |
core/modules/language/tests/src/Unit/LanguageNegotiationUrlTest.php |
Test path prefix language negotiation and outbound path processing. |
LanguageNegotiationUser |
class |
core/modules/user/src/Plugin/LanguageNegotiation/LanguageNegotiationUser.php |
Class for identifying language from the user preferences. |
LanguageNegotiationUser.php |
file |
core/modules/user/src/Plugin/LanguageNegotiation/LanguageNegotiationUser.php |
|
LanguageNegotiationUser::getLangcode |
function |
core/modules/user/src/Plugin/LanguageNegotiation/LanguageNegotiationUser.php |
Performs language negotiation. |
LanguageNegotiationUser::METHOD_ID |
constant |
core/modules/user/src/Plugin/LanguageNegotiation/LanguageNegotiationUser.php |
The language negotiation method id. |
LanguageNegotiationUserAdmin |
class |
core/modules/user/src/Plugin/LanguageNegotiation/LanguageNegotiationUserAdmin.php |
Identifies admin language from the user preferences. |
LanguageNegotiationUserAdmin.php |
file |
core/modules/user/src/Plugin/LanguageNegotiation/LanguageNegotiationUserAdmin.php |
|
LanguageNegotiationUserAdmin::$adminContext |
property |
core/modules/user/src/Plugin/LanguageNegotiation/LanguageNegotiationUserAdmin.php |
The admin context. |
LanguageNegotiationUserAdmin::$pathProcessorManager |
property |
core/modules/user/src/Plugin/LanguageNegotiation/LanguageNegotiationUserAdmin.php |
The path processor manager. |
LanguageNegotiationUserAdmin::$router |
property |
core/modules/user/src/Plugin/LanguageNegotiation/LanguageNegotiationUserAdmin.php |
The router. |
LanguageNegotiationUserAdmin::$stackedRouteMatch |
property |
core/modules/user/src/Plugin/LanguageNegotiation/LanguageNegotiationUserAdmin.php |
The stacked route match. |
LanguageNegotiationUserAdmin::create |
function |
core/modules/user/src/Plugin/LanguageNegotiation/LanguageNegotiationUserAdmin.php |
Creates an instance of the plugin. |
LanguageNegotiationUserAdmin::getLangcode |
function |
core/modules/user/src/Plugin/LanguageNegotiation/LanguageNegotiationUserAdmin.php |
Performs language negotiation. |
LanguageNegotiationUserAdmin::isAdminPath |
function |
core/modules/user/src/Plugin/LanguageNegotiation/LanguageNegotiationUserAdmin.php |
Checks whether the given path is an administrative one. |
LanguageNegotiationUserAdmin::METHOD_ID |
constant |
core/modules/user/src/Plugin/LanguageNegotiation/LanguageNegotiationUserAdmin.php |
The language negotiation method id. |
LanguageNegotiationUserAdmin::__construct |
function |
core/modules/user/src/Plugin/LanguageNegotiation/LanguageNegotiationUserAdmin.php |
Constructs a new LanguageNegotiationUserAdmin instance. |
LanguageNegotiator |
class |
core/modules/language/src/LanguageNegotiator.php |
Class responsible for performing language negotiation. |
LanguageNegotiator.php |
file |
core/modules/language/src/LanguageNegotiator.php |
|
LanguageNegotiator::$configFactory |
property |
core/modules/language/src/LanguageNegotiator.php |
The configuration factory. |
LanguageNegotiator::$currentUser |
property |
core/modules/language/src/LanguageNegotiator.php |
The current active user. |
LanguageNegotiator::$languageManager |
property |
core/modules/language/src/LanguageNegotiator.php |
The language manager. |
LanguageNegotiator::$methods |
property |
core/modules/language/src/LanguageNegotiator.php |
Local cache for language negotiation method instances. |
LanguageNegotiator::$negotiatedLanguages |
property |
core/modules/language/src/LanguageNegotiator.php |
An array of language objects keyed by method id. |
LanguageNegotiator::$negotiatorManager |
property |
core/modules/language/src/LanguageNegotiator.php |
The language negotiation method plugin manager. |
LanguageNegotiator::$requestStack |
property |
core/modules/language/src/LanguageNegotiator.php |
The request stack object. |
LanguageNegotiator::$settings |
property |
core/modules/language/src/LanguageNegotiator.php |
The settings instance. |
LanguageNegotiator::getEnabledNegotiators |
function |
core/modules/language/src/LanguageNegotiator.php |
Gets enabled detection methods for the provided language type. |
LanguageNegotiator::getNegotiationMethodInstance |
function |
core/modules/language/src/LanguageNegotiator.php |
Returns an instance of the specified language negotiation method. |
LanguageNegotiator::getNegotiationMethods |
function |
core/modules/language/src/LanguageNegotiator.php |
Returns the language negotiation methods enabled for a language type. |
LanguageNegotiator::getPrimaryNegotiationMethod |
function |
core/modules/language/src/LanguageNegotiator.php |
Returns the ID of the language type's primary language negotiation method. |
LanguageNegotiator::initializeType |
function |
core/modules/language/src/LanguageNegotiator.php |
Initializes the specified language type. |
LanguageNegotiator::initLanguageManager |
function |
core/modules/language/src/LanguageNegotiator.php |
Initializes the injected language manager with the negotiator. |
LanguageNegotiator::isNegotiationMethodEnabled |
function |
core/modules/language/src/LanguageNegotiator.php |
Checks whether a language negotiation method is enabled for a language type. |
LanguageNegotiator::negotiateLanguage |
function |
core/modules/language/src/LanguageNegotiator.php |
Performs language negotiation using the specified negotiation method. |
LanguageNegotiator::purgeConfiguration |
function |
core/modules/language/src/LanguageNegotiator.php |
Resave the configuration to purge missing negotiation methods. |
LanguageNegotiator::reset |
function |
core/modules/language/src/LanguageNegotiator.php |
Resets the negotiated languages and the method instances. |
LanguageNegotiator::saveConfiguration |
function |
core/modules/language/src/LanguageNegotiator.php |
Saves a list of language negotiation methods for a language type. |
LanguageNegotiator::setCurrentUser |
function |
core/modules/language/src/LanguageNegotiator.php |
Sets the current active user and resets all language types. |
LanguageNegotiator::updateConfiguration |
function |
core/modules/language/src/LanguageNegotiator.php |
Updates the configuration based on the given language types. |
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. |