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. |
LanguageNegotiationSession |
class |
core/modules/language/src/Plugin/LanguageNegotiation/LanguageNegotiationSession.php |
Identify language from a request/session parameter. |
LanguageNegotiationSession.php |
file |
core/modules/language/src/Plugin/LanguageNegotiation/LanguageNegotiationSession.php |
|
LanguageNegotiationSession::$queryParam |
property |
core/modules/language/src/Plugin/LanguageNegotiation/LanguageNegotiationSession.php |
The query parameter name to rewrite. |
LanguageNegotiationSession::$queryRewrite |
property |
core/modules/language/src/Plugin/LanguageNegotiation/LanguageNegotiationSession.php |
Flag used to determine whether query rewriting is active. |
LanguageNegotiationSession::$queryValue |
property |
core/modules/language/src/Plugin/LanguageNegotiation/LanguageNegotiationSession.php |
The query parameter value to be set. |
LanguageNegotiationSession::$requestStack |
property |
core/modules/language/src/Plugin/LanguageNegotiation/LanguageNegotiationSession.php |
The request stack. |
LanguageNegotiationSession::create |
function |
core/modules/language/src/Plugin/LanguageNegotiation/LanguageNegotiationSession.php |
Creates an instance of the plugin. |
LanguageNegotiationSession::getLangcode |
function |
core/modules/language/src/Plugin/LanguageNegotiation/LanguageNegotiationSession.php |
Performs language negotiation. |
LanguageNegotiationSession::getLanguageSwitchLinks |
function |
core/modules/language/src/Plugin/LanguageNegotiation/LanguageNegotiationSession.php |
Returns language switch links. |
LanguageNegotiationSession::METHOD_ID |
constant |
core/modules/language/src/Plugin/LanguageNegotiation/LanguageNegotiationSession.php |
The language negotiation method id. |
LanguageNegotiationSession::persist |
function |
core/modules/language/src/Plugin/LanguageNegotiation/LanguageNegotiationSession.php |
Notifies the plugin that the language code it returned has been accepted. |
LanguageNegotiationSession::processOutbound |
function |
core/modules/language/src/Plugin/LanguageNegotiation/LanguageNegotiationSession.php |
Processes the outbound path. |
LanguageNegotiationSession::__construct |
function |
core/modules/language/src/Plugin/LanguageNegotiation/LanguageNegotiationSession.php |
Constructs a LanguageNegotiationSession object. |
LanguageNegotiationSessionTest |
class |
core/modules/language/tests/src/Functional/LanguageNegotiationSessionTest.php |
Tests the session language negotiation method. |
LanguageNegotiationSessionTest.php |
file |
core/modules/language/tests/src/Functional/LanguageNegotiationSessionTest.php |
|
LanguageNegotiationSessionTest::$adminUser |
property |
core/modules/language/tests/src/Functional/LanguageNegotiationSessionTest.php |
An administrative user to configure the test environment. |
LanguageNegotiationSessionTest::$defaultTheme |
property |
core/modules/language/tests/src/Functional/LanguageNegotiationSessionTest.php |
The theme to install as the default for testing. |
LanguageNegotiationSessionTest::$modules |
property |
core/modules/language/tests/src/Functional/LanguageNegotiationSessionTest.php |
Modules to install. |
LanguageNegotiationSessionTest::setUp |
function |
core/modules/language/tests/src/Functional/LanguageNegotiationSessionTest.php |
|
LanguageNegotiationSessionTest::testSessionLanguageNegotiationMethod |
function |
core/modules/language/tests/src/Functional/LanguageNegotiationSessionTest.php |
Tests language negotiation via query/session parameters. |
LanguageNegotiationTest |
class |
core/modules/language/tests/src/Unit/process/LanguageNegotiationTest.php |
Tests Drupal\language\Plugin\migrate\process\LanguageNegotiation. |
LanguageNegotiationTest |
class |
core/modules/language/tests/language_test/src/Plugin/LanguageNegotiation/LanguageNegotiationTest.php |
Class for identifying language from a selected language. |
LanguageNegotiationTest.php |
file |
core/modules/language/tests/language_test/src/Plugin/LanguageNegotiation/LanguageNegotiationTest.php |
|
LanguageNegotiationTest.php |
file |
core/modules/language/tests/src/Unit/process/LanguageNegotiationTest.php |
|
LanguageNegotiationTest::getLangcode |
function |
core/modules/language/tests/language_test/src/Plugin/LanguageNegotiation/LanguageNegotiationTest.php |
Performs language negotiation. |
LanguageNegotiationTest::METHOD_ID |
constant |
core/modules/language/tests/language_test/src/Plugin/LanguageNegotiation/LanguageNegotiationTest.php |
The language negotiation method id. |
LanguageNegotiationTest::setUp |
function |
core/modules/language/tests/src/Unit/process/LanguageNegotiationTest.php |
|
LanguageNegotiationTest::testStringInput |
function |
core/modules/language/tests/src/Unit/process/LanguageNegotiationTest.php |
Tests string input. |
LanguageNegotiationTest::testTransformWithoutWeights |
function |
core/modules/language/tests/src/Unit/process/LanguageNegotiationTest.php |
Tests successful transformation without weights. |
LanguageNegotiationTest::testTransformWithWeights |
function |
core/modules/language/tests/src/Unit/process/LanguageNegotiationTest.php |
Tests successful transformation without weights. |
LanguageNegotiationTestBase |
class |
core/modules/language/tests/src/Unit/Plugin/LanguageNegotiation/LanguageNegotiationTestBase.php |
Base class used for testing the various LanguageNegotiation plugins. |
LanguageNegotiationTestBase.php |
file |
core/modules/language/tests/src/Unit/Plugin/LanguageNegotiation/LanguageNegotiationTestBase.php |
|
LanguageNegotiationTestBase::createLanguageNegotiationPlugin |
function |
core/modules/language/tests/src/Unit/Plugin/LanguageNegotiation/LanguageNegotiationTestBase.php |
Creates a @LanguageNegotiation plugin using the factory ::create method. |
LanguageNegotiationTestBase::getPluginClass |
function |
core/modules/language/tests/src/Unit/Plugin/LanguageNegotiation/LanguageNegotiationTestBase.php |
Returns the plugin class to use for creating the language negotiation plugin. |