Search for %s

  1. Search 7.x for %s
  2. Search 9.5.x for %s
  3. Search 10.3.x for %s
  4. Search 11.x for %s
  5. Search main for %s
  6. Other projects
Title Object type File name Summary
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::$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::isNegotiationMethodEnabled function core/modules/language/src/LanguageNegotiator.php Checks whether a language negotiation method is enabled for a language type.
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::__construct function core/modules/language/src/LanguageNegotiator.php Constructs a new LanguageNegotiator object.
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::isNegotiationMethodEnabled function core/modules/language/src/LanguageNegotiatorInterface.php Checks whether a language negotiation method is enabled for a language type.
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.
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 The theme to install as the default for testing.
LanguagePathMonolingualTest::$modules property core/modules/language/tests/src/Functional/LanguagePathMonolingualTest.php Modules to enable.
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.
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.
LanguagesCacheContext.php file core/lib/Drupal/Core/Cache/Context/LanguagesCacheContext.php
LanguagesCacheContext::$languageManager property core/lib/Drupal/Core/Cache/Context/LanguagesCacheContext.php The language manager.
LanguagesCacheContext::getCacheableMetadata function core/lib/Drupal/Core/Cache/Context/LanguagesCacheContext.php Gets the cacheability metadata for the context based on the parameter value.
LanguagesCacheContext::getContext function core/lib/Drupal/Core/Cache/Context/LanguagesCacheContext.php $type can be NULL, or one of the language types supported by the language
manager, typically:
LanguagesCacheContext::getLabel function core/lib/Drupal/Core/Cache/Context/LanguagesCacheContext.php Returns the label of the cache context.
LanguagesCacheContext::__construct function core/lib/Drupal/Core/Cache/Context/LanguagesCacheContext.php Constructs a new LanguagesCacheContext service.
LanguageSelect class core/lib/Drupal/Core/Render/Element/LanguageSelect.php Provides a form element for selecting a language.
LanguageSelect.php file core/lib/Drupal/Core/Render/Element/LanguageSelect.php
LanguageSelect::getInfo function core/lib/Drupal/Core/Render/Element/LanguageSelect.php Returns the element properties for this element.
LanguageSelectElementTest class core/modules/system/tests/src/Functional/Form/LanguageSelectElementTest.php Tests that the language select form element prints and submits the right
options.
LanguageSelectElementTest.php file core/modules/system/tests/src/Functional/Form/LanguageSelectElementTest.php
LanguageSelectElementTest::$defaultTheme property core/modules/system/tests/src/Functional/Form/LanguageSelectElementTest.php The theme to install as the default for testing.
LanguageSelectElementTest::$modules property core/modules/system/tests/src/Functional/Form/LanguageSelectElementTest.php Modules to enable.
LanguageSelectElementTest::testHiddenLanguageSelectElement function core/modules/system/tests/src/Functional/Form/LanguageSelectElementTest.php Tests the case when the language select elements should not be printed.

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.