Search for language

  1. Search 7.x for language
  2. Search 8.9.x for language
  3. Search 10.3.x for language
  4. Search 11.x for language
  5. Other projects

Exact matches

These are exact matches according to your search
Title Object type File name Summary
Language class core/modules/language/src/Plugin/migrate/source/Language.php Drupal 6/7 language source from database.
Language class core/modules/language/src/Plugin/Condition/Language.php Provides a 'Language' condition.
Language class core/modules/ckeditor5/src/Plugin/CKEditor5Plugin/Language.php CKEditor 5 Language plugin.
Language class core/modules/ckeditor/src/Plugin/CKEditorPlugin/Language.php Defines the "language" plugin.
Language class core/lib/Drupal/Core/TypedData/Plugin/DataType/Language.php Defines the 'language' data type.
Language class core/lib/Drupal/Core/Language/Language.php An object containing the information for an interface language.

All search results

Title Object type File name Summary
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 the language selection form element.
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.
LanguageSelectElementTest::testLanguageSelectElementOptions function core/modules/system/tests/src/Functional/Form/LanguageSelectElementTest.php Tests that the options printed by the language select element are correct.
LanguageSelectElementTest::_testLanguageSelectElementOptions function core/modules/system/tests/src/Functional/Form/LanguageSelectElementTest.php Helper function to check the options of a language select form element.
LanguageSelectorTranslatableTest class core/modules/language/tests/src/Functional/LanguageSelectorTranslatableTest.php Tests the content translation settings language selector options.
LanguageSelectorTranslatableTest.php file core/modules/language/tests/src/Functional/LanguageSelectorTranslatableTest.php
LanguageSelectorTranslatableTest::$administrator property core/modules/language/tests/src/Functional/LanguageSelectorTranslatableTest.php The user with administrator privileges.
LanguageSelectorTranslatableTest::$defaultTheme property core/modules/language/tests/src/Functional/LanguageSelectorTranslatableTest.php The theme to install as the default for testing.
LanguageSelectorTranslatableTest::$modules property core/modules/language/tests/src/Functional/LanguageSelectorTranslatableTest.php Modules to enable.
LanguageSelectorTranslatableTest::getAdministratorPermissions function core/modules/language/tests/src/Functional/LanguageSelectorTranslatableTest.php Returns an array of permissions needed for the translator.
LanguageSelectorTranslatableTest::setUp function core/modules/language/tests/src/Functional/LanguageSelectorTranslatableTest.php
LanguageSelectorTranslatableTest::testLanguageStringSelector function core/modules/language/tests/src/Functional/LanguageSelectorTranslatableTest.php Tests content translation language selectors are correctly translated.
LanguageSelectWidget class core/lib/Drupal/Core/Field/Plugin/Field/FieldWidget/LanguageSelectWidget.php Plugin implementation of the 'Language' widget.
LanguageSelectWidget.php file core/lib/Drupal/Core/Field/Plugin/Field/FieldWidget/LanguageSelectWidget.php
LanguageSelectWidget::defaultSettings function core/lib/Drupal/Core/Field/Plugin/Field/FieldWidget/LanguageSelectWidget.php Defines the default settings for this plugin.
LanguageSelectWidget::formElement function core/lib/Drupal/Core/Field/Plugin/Field/FieldWidget/LanguageSelectWidget.php Returns the form for a single field widget.
LanguageSelectWidget::settingsForm function core/lib/Drupal/Core/Field/Plugin/Field/FieldWidget/LanguageSelectWidget.php Returns a form to configure settings for the widget.
LanguageSelectWidgetTest class core/modules/language/tests/src/Kernel/LanguageSelectWidgetTest.php Tests the language select widget.
LanguageSelectWidgetTest.php file core/modules/language/tests/src/Kernel/LanguageSelectWidgetTest.php
LanguageSelectWidgetTest::$entityFormDisplay property core/modules/language/tests/src/Kernel/LanguageSelectWidgetTest.php The entity form display.
LanguageSelectWidgetTest::$modules property core/modules/language/tests/src/Kernel/LanguageSelectWidgetTest.php Modules to enable.
LanguageSelectWidgetTest::setUp function core/modules/language/tests/src/Kernel/LanguageSelectWidgetTest.php
LanguageSelectWidgetTest::testWithIncludedLockedLanguage function core/modules/language/tests/src/Kernel/LanguageSelectWidgetTest.php Tests the widget with the locked languages.
LanguageSelectWidgetTest::testWithoutIncludedLockedLanguage function core/modules/language/tests/src/Kernel/LanguageSelectWidgetTest.php Tests the widget without the locked languages.
LanguageServiceProvider class core/modules/language/src/LanguageServiceProvider.php Overrides the language_manager service to point to language's module one.
LanguageServiceProvider.php file core/modules/language/src/LanguageServiceProvider.php
LanguageServiceProvider::alter function core/modules/language/src/LanguageServiceProvider.php Modifies existing service definitions.

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