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 |
|
LanguageSelectWidget |
class |
core/lib/Drupal/Core/Field/Plugin/Field/FieldWidget/LanguageSelectWidget.php |
Plugin implementation of the 'Language' widget. |
LanguagesCacheContext |
class |
core/lib/Drupal/Core/Cache/Context/LanguagesCacheContext.php |
Defines the LanguagesCacheContext service, for "per language" caching. |
LanguageSwitchingTest |
class |
core/modules/language/tests/src/Functional/LanguageSwitchingTest.php |
Functional tests for the language switching feature. |
LanguageServiceProvider |
class |
core/modules/language/src/LanguageServiceProvider.php |
Overrides the language_manager service to point to language's module one. |
LanguageSelect::getInfo |
function |
core/lib/Drupal/Core/Render/Element/LanguageSelect.php |
Returns the element properties for this element. |
cache_context.languages |
service |
core/core.services.yml |
Drupal\Core\Cache\Context\LanguagesCacheContext |
ContentLanguageSettings |
class |
core/modules/language/src/Entity/ContentLanguageSettings.php |
Defines the ContentLanguageSettings entity. |
LanguageSelectWidget.php |
file |
core/lib/Drupal/Core/Field/Plugin/Field/FieldWidget/LanguageSelectWidget.php |
|
LanguageSelectWidgetTest |
class |
core/modules/language/tests/src/Kernel/LanguageSelectWidgetTest.php |
Tests the language select widget. |
LanguageSwitcherInterface |
interface |
core/modules/language/src/LanguageSwitcherInterface.php |
Interface for language switcher classes. |
TwigTransTest::$languages |
property |
core/modules/system/tests/src/Functional/Theme/TwigTransTest.php |
Custom languages. |
LanguageSelectElementTest |
class |
core/modules/system/tests/src/Functional/Form/LanguageSelectElementTest.php |
Tests that the language select form element prints and submits the right
options. |
LanguageSwitchingTest.php |
file |
core/modules/language/tests/src/Functional/LanguageSwitchingTest.php |
|
PluginBase::listLanguages |
function |
core/modules/views/src/Plugin/views/PluginBase.php |
Makes an array of languages, optionally including special languages. |
LanguagesCacheContext.php |
file |
core/lib/Drupal/Core/Cache/Context/LanguagesCacheContext.php |
|
FormTestLanguageSelectForm |
class |
core/modules/system/tests/modules/form_test/src/Form/FormTestLanguageSelectForm.php |
Builds a form to test the language select form element. |
ContentLanguageSettingsForm |
class |
core/modules/language/src/Form/ContentLanguageSettingsForm.php |
Configure the content language settings for this site. |
CKEditorTest::testLanguages |
function |
core/modules/ckeditor/tests/src/Kernel/CKEditorTest.php |
Tests language list availability in CKEditor. |
LanguageServiceProvider.php |
file |
core/modules/language/src/LanguageServiceProvider.php |
|
UserAgentTest::getLanguages |
function |
core/tests/Drupal/Tests/Component/Utility/UserAgentTest.php |
Helper method to supply language codes to testGetBestMatchingLangcode(). |
LanguageManager::$languages |
property |
core/lib/Drupal/Core/Language/LanguageManager.php |
A static cache of translated language lists. |
ContentLanguageSettings.php |
file |
core/modules/language/src/Entity/ContentLanguageSettings.php |
|
ContentLanguageSettingsTest |
class |
core/modules/jsonapi/tests/src/Functional/ContentLanguageSettingsTest.php |
JSON:API integration test for "ContentLanguageSettings" config entity type. |
ContentLanguageSettings::id |
function |
core/modules/language/src/Entity/ContentLanguageSettings.php |
Gets the identifier. |
LanguageSwitchingTest::setUp |
function |
core/modules/language/tests/src/Functional/LanguageSwitchingTest.php |
|
LanguageSelectWidgetTest.php |
file |
core/modules/language/tests/src/Kernel/LanguageSelectWidgetTest.php |
|
ContentLanguageSettings::$id |
property |
core/modules/language/src/Entity/ContentLanguageSettings.php |
The id. Combination of $target_entity_type_id.$target_bundle. |
LanguageSwitcherInterface.php |
file |
core/modules/language/src/LanguageSwitcherInterface.php |
|
LanguageManager::getLanguages |
function |
core/lib/Drupal/Core/Language/LanguageManager.php |
Returns a list of languages set up on the site. |
ContentEntityBase::$languages |
property |
core/lib/Drupal/Core/Entity/ContentEntityBase.php |
Local cache for the available language objects. |
PathProcessorTest::$languages |
property |
core/tests/Drupal/Tests/Core/PathProcessor/PathProcessorTest.php |
Configuration for the languageManager stub. |
LanguageSelectElementTest.php |
file |
core/modules/system/tests/src/Functional/Form/LanguageSelectElementTest.php |
|
LanguageServiceProvider::alter |
function |
core/modules/language/src/LanguageServiceProvider.php |
Modifies existing service definitions. |
FormTestLanguageSelectForm.php |
file |
core/modules/system/tests/modules/form_test/src/Form/FormTestLanguageSelectForm.php |
|
LanguageSelectWidgetUpdateTest |
class |
core/modules/language/tests/src/Functional/Update/LanguageSelectWidgetUpdateTest.php |
Tests the update path for the language_select widget. |
LanguageSwitchingTest::$modules |
property |
core/modules/language/tests/src/Functional/LanguageSwitchingTest.php |
Modules to enable. |
LanguagesCacheContext::getLabel |
function |
core/lib/Drupal/Core/Cache/Context/LanguagesCacheContext.php |
Returns the label of the cache context. |
NodeLanguageTest::testLanguages |
function |
core/modules/node/tests/src/Functional/Views/NodeLanguageTest.php |
Tests translation language filter, field, and sort. |
ContentEntityBase::getLanguages |
function |
core/lib/Drupal/Core/Entity/ContentEntityBase.php |
|
ContentLanguageSettingsForm.php |
file |
core/modules/language/src/Form/ContentLanguageSettingsForm.php |
|
LanguageSelectWidgetTest::setUp |
function |
core/modules/language/tests/src/Kernel/LanguageSelectWidgetTest.php |
|
ContentLanguageSettingsTest.php |
file |
core/modules/jsonapi/tests/src/Functional/ContentLanguageSettingsTest.php |
|
ContentLanguageSettingsUnitTest |
class |
core/modules/language/tests/src/Unit/ContentLanguageSettingsUnitTest.php |
@coversDefaultClass \Drupal\language\Entity\ContentLanguageSettings
@group language |
TwigTransTest::installLanguages |
function |
core/modules/system/tests/src/Functional/Theme/TwigTransTest.php |
Helper function: install languages. |
LanguageSelectorTranslatableTest |
class |
core/modules/language/tests/src/Functional/LanguageSelectorTranslatableTest.php |
Tests the content translation settings language selector options. |
LanguageManager::filterLanguages |
function |
core/lib/Drupal/Core/Language/LanguageManager.php |
Filters the full list of languages based on the value of the flag. |
block.block.languageswitcher.yml |
file |
core/profiles/demo_umami/config/install/block.block.languageswitcher.yml |
core/profiles/demo_umami/config/install/block.block.languageswitcher.yml |
ContentLanguageSettingsException |
class |
core/modules/language/src/ContentLanguageSettingsException.php |
Exception thrown by ContentLanguageSettings when target bundle is not set. |