Search for getLanguage

  1. Search 7.x for getLanguage
  2. Search 9.5.x for getLanguage
  3. Search 8.9.x for getLanguage
  4. Search 11.x for getLanguage
  5. Other projects
Title Object type File name Summary
BulkForm::getLanguageManager function core/modules/views/src/Plugin/views/field/BulkForm.php
ConfigModuleOverridesEvent::getLanguage function core/lib/Drupal/Core/Config/ConfigModuleOverridesEvent.php Gets configuration language.
ConfigTranslationUiTest::testSourceAndTargetLanguage function core/modules/config_translation/tests/src/Functional/ConfigTranslationUiTest.php Tests source and target language edge cases.
ConfigurableLanguageManager::getLanguageConfigOverride function core/modules/language/src/ConfigurableLanguageManager.php
ConfigurableLanguageManager::getLanguageConfigOverrideStorage function core/modules/language/src/ConfigurableLanguageManager.php
ConfigurableLanguageManager::getLanguages function core/modules/language/src/ConfigurableLanguageManager.php
ConfigurableLanguageManager::getLanguageSwitchLinks function core/modules/language/src/ConfigurableLanguageManager.php
ConfigurableLanguageManager::getLanguageTypes function core/modules/language/src/ConfigurableLanguageManager.php
ConfigurableLanguageManagerInterface::getLanguageConfigOverride function core/modules/language/src/ConfigurableLanguageManagerInterface.php Gets a language config override object.
ConfigurableLanguageManagerInterface::getLanguageConfigOverrideStorage function core/modules/language/src/ConfigurableLanguageManagerInterface.php Gets a language configuration override storage object.
ContentEntityBase::getLanguages function core/lib/Drupal/Core/Entity/ContentEntityBase.php
CustomStrings::getLanguage function core/lib/Drupal/Core/StringTranslation/Translator/CustomStrings.php
DataEntityRow::getLanguageManager function core/modules/rest/src/Plugin/views/row/DataEntityRow.php
EntityFieldRenderer::getLanguageManager function core/modules/views/src/Entity/Render/EntityFieldRenderer.php
EntityOperations::getLanguageManager function core/modules/views/src/Plugin/views/field/EntityOperations.php
EntityRepositoryTest::getLanguageContexts function core/tests/Drupal/KernelTests/Core/Entity/EntityRepositoryTest.php Returns a set of language contexts matching the specified language.
EntityRow::getLanguageManager function core/modules/views/src/Plugin/views/row/EntityRow.php
EntityTranslationRenderTrait::getLanguageManager function core/modules/views/src/Entity/Render/EntityTranslationRenderTrait.php Returns the language manager.
FileTranslation::getLanguage function core/lib/Drupal/Core/StringTranslation/Translator/FileTranslation.php
LanguageConfigFactoryOverride::getLanguage function core/modules/language/src/Config/LanguageConfigFactoryOverride.php
LanguageConfigFactoryOverrideInterface::getLanguage function core/modules/language/src/Config/LanguageConfigFactoryOverrideInterface.php Gets the language object used to override configuration data.
LanguageConfigOverrideCrudEvent::getLanguageConfigOverride function core/modules/language/src/Config/LanguageConfigOverrideCrudEvent.php Gets configuration object.
LanguageLocalTasksTest::getLanguageAdminOverviewRoutes function core/modules/language/tests/src/Unit/Menu/LanguageLocalTasksTest.php Provides a list of routes to test.
LanguageManager::getLanguage function core/lib/Drupal/Core/Language/LanguageManager.php
LanguageManager::getLanguageName function core/lib/Drupal/Core/Language/LanguageManager.php
LanguageManager::getLanguages function core/lib/Drupal/Core/Language/LanguageManager.php
LanguageManager::getLanguageSwitchLinks function core/lib/Drupal/Core/Language/LanguageManager.php
LanguageManager::getLanguageTypes function core/lib/Drupal/Core/Language/LanguageManager.php
LanguageManagerInterface::getLanguage function core/lib/Drupal/Core/Language/LanguageManagerInterface.php Returns a language object from the given language code.
LanguageManagerInterface::getLanguageName function core/lib/Drupal/Core/Language/LanguageManagerInterface.php Produced the printed name for a language for display.
LanguageManagerInterface::getLanguages function core/lib/Drupal/Core/Language/LanguageManagerInterface.php Returns a list of languages set up on the site.
LanguageManagerInterface::getLanguageSwitchLinks function core/lib/Drupal/Core/Language/LanguageManagerInterface.php Returns the language switch links for the given language type.
LanguageManagerInterface::getLanguageTypes function core/lib/Drupal/Core/Language/LanguageManagerInterface.php Returns an array of the available language types.
LanguageNegotiationContentEntity::getLanguageSwitchLinks function core/modules/language/src/Plugin/LanguageNegotiation/LanguageNegotiationContentEntity.php
LanguageNegotiationContentEntityTest::testGetLanguageSwitchLinks function core/modules/language/tests/src/Unit/Plugin/LanguageNegotiation/LanguageNegotiationContentEntityTest.php @covers ::getLanguageSwitchLinks
LanguageNegotiationSession::getLanguageSwitchLinks function core/modules/language/src/Plugin/LanguageNegotiation/LanguageNegotiationSession.php
LanguageNegotiationUrl::getLanguageSwitchLinks function core/modules/language/src/Plugin/LanguageNegotiation/LanguageNegotiationUrl.php
LanguageSwitcherInterface::getLanguageSwitchLinks function core/modules/language/src/LanguageSwitcherInterface.php Returns language switch links.
LinkBase::getLanguageManager function core/modules/views/src/Plugin/views/field/LinkBase.php
LocaleConfigurableLanguageManagerTest::testGetLanguages function core/modules/locale/tests/src/Kernel/LocaleConfigurableLanguageManagerTest.php
PoHeader::getLanguageName function core/lib/Drupal/Component/Gettext/PoHeader.php Gets the human readable language name.
RenderedEntity::getLanguageManager function core/modules/views/src/Plugin/views/field/RenderedEntity.php
ResourceObject::getLanguage function core/modules/jsonapi/src/JsonApiResource/ResourceObject.php Gets the ResourceObject's language.
StaticTranslation::getLanguage function core/lib/Drupal/Core/StringTranslation/Translator/StaticTranslation.php Retrieves translations for a given language.
UserAgentTest::getLanguages function core/tests/Drupal/Tests/Component/Utility/UserAgentTest.php Helper method to supply language codes to testGetBestMatchingLangcode().

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