Search for getLangcode

  1. Search 7.x for getLangcode
  2. Search 9.5.x for getLangcode
  3. Search 8.9.x for getLangcode
  4. Search 10.3.x for getLangcode
  5. Other projects
Title Object type File name Summary
ConfigMapperInterface::getLangcode function core/modules/config_translation/src/ConfigMapperInterface.php Returns the original language code of the configuration.
ConfigMapperInterface::getLangcodeFromConfig function core/modules/config_translation/src/ConfigMapperInterface.php Returns the language code of a configuration object given its name.
ConfigNamesMapper::getLangcode function core/modules/config_translation/src/ConfigNamesMapper.php
ConfigNamesMapper::getLangcodeFromConfig function core/modules/config_translation/src/ConfigNamesMapper.php
ConfigNamesMapperTest::testGetLangcode function core/modules/config_translation/tests/src/Unit/ConfigNamesMapperTest.php Tests ConfigNamesMapper::getLangcode().
ConfigurableLanguageRenderer::getLangcode function core/modules/views/src/Entity/Render/ConfigurableLanguageRenderer.php
DefaultLanguageRenderer::getLangcode function core/modules/views/src/Entity/Render/DefaultLanguageRenderer.php
DefaultLanguageRenderer::getLangcodeByRelationship function core/modules/views/src/Entity/Render/DefaultLanguageRenderer.php
EntityTranslationRendererBase::getLangcode function core/modules/views/src/Entity/Render/EntityTranslationRendererBase.php Returns the language code associated with the given row.
EntityTranslationRendererBase::getLangcodeByRelationship function core/modules/views/src/Entity/Render/EntityTranslationRendererBase.php Returns the language code associated with the given row.
FieldItemBase::getLangcode function core/lib/Drupal/Core/Field/FieldItemBase.php
FieldItemInterface::getLangcode function core/lib/Drupal/Core/Field/FieldItemInterface.php Gets the langcode of the field values held in the object.
FieldItemList::getLangcode function core/lib/Drupal/Core/Field/FieldItemList.php
FieldItemListInterface::getLangcode function core/lib/Drupal/Core/Field/FieldItemListInterface.php Gets the langcode of the field values held in the object.
LanguageConfigCollectionNameTrait::getLangcodeFromCollectionName function core/modules/language/src/Config/LanguageConfigCollectionNameTrait.php Converts a configuration collection name to a language code.
LanguageConfigOverride::getLangcode function core/modules/language/src/Config/LanguageConfigOverride.php Returns the language code of this language override.
LanguageNegotiationBrowser::getLangcode function core/modules/language/src/Plugin/LanguageNegotiation/LanguageNegotiationBrowser.php
LanguageNegotiationContentEntity::getLangcode function core/modules/language/src/Plugin/LanguageNegotiation/LanguageNegotiationContentEntity.php
LanguageNegotiationContentEntityTest::testGetLangcode function core/modules/language/tests/src/Unit/Plugin/LanguageNegotiation/LanguageNegotiationContentEntityTest.php @covers ::getLangcode
LanguageNegotiationMethodInterface::getLangcode function core/modules/language/src/LanguageNegotiationMethodInterface.php Performs language negotiation.
LanguageNegotiationSelected::getLangcode function core/modules/language/src/Plugin/LanguageNegotiation/LanguageNegotiationSelected.php
LanguageNegotiationSession::getLangcode function core/modules/language/src/Plugin/LanguageNegotiation/LanguageNegotiationSession.php
LanguageNegotiationTest::getLangcode function core/modules/language/tests/language_test/src/Plugin/LanguageNegotiation/LanguageNegotiationTest.php
LanguageNegotiationUI::getLangcode function core/modules/language/src/Plugin/LanguageNegotiation/LanguageNegotiationUI.php
LanguageNegotiationUrl::getLangcode function core/modules/language/src/Plugin/LanguageNegotiation/LanguageNegotiationUrl.php
LanguageNegotiationUrlFallback::getLangcode function core/modules/language/src/Plugin/LanguageNegotiation/LanguageNegotiationUrlFallback.php
LanguageNegotiationUser::getLangcode function core/modules/user/src/Plugin/LanguageNegotiation/LanguageNegotiationUser.php
LanguageNegotiationUserAdmin::getLangcode function core/modules/user/src/Plugin/LanguageNegotiation/LanguageNegotiationUserAdmin.php
LanguageUnitTest::testGetLangcode function core/tests/Drupal/Tests/Core/Language/LanguageUnitTest.php @covers ::getId
LocaleEvent::getLangCodes function core/modules/locale/src/LocaleEvent.php Returns the language codes.
PoDatabaseReader::getLangcode function core/modules/locale/src/PoDatabaseReader.php
PoDatabaseWriter::getLangcode function core/modules/locale/src/PoDatabaseWriter.php
PoItem::getLangcode function core/lib/Drupal/Component/Gettext/PoItem.php Gets the language code of the currently used language.
PoMemoryWriter::getLangcode function core/lib/Drupal/Component/Gettext/PoMemoryWriter.php Implements Drupal\Component\Gettext\PoMetadataInterface:getLangcode().
PoMetadataInterface::getLangcode function core/lib/Drupal/Component/Gettext/PoMetadataInterface.php Get language code.
PoStreamReader::getLangcode function core/lib/Drupal/Component/Gettext/PoStreamReader.php
PoStreamWriter::getLangcode function core/lib/Drupal/Component/Gettext/PoStreamWriter.php Gets the current language code used.
TranslationLanguageRenderer::getLangcode function core/modules/views/src/Entity/Render/TranslationLanguageRenderer.php
TranslationLanguageRenderer::getLangcodeTable function core/modules/views/src/Entity/Render/TranslationLanguageRenderer.php Returns the name of the table holding the "langcode" field.

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