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 Returns the original language code of the configuration.
ConfigNamesMapper::getLangcodeFromConfig function core/modules/config_translation/src/ConfigNamesMapper.php Returns the language code of a configuration object given its name.
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 Returns the language code associated with the given row.
DefaultLanguageRenderer::getLangcode function core/modules/views/src/Entity/Render/DefaultLanguageRenderer.php Returns the language code associated with the given row.
DefaultLanguageRenderer::getLangcodeByRelationship function core/modules/views/src/Entity/Render/DefaultLanguageRenderer.php Returns the language code associated with the given row.
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 Gets the langcode of the field values held in the object.
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 Gets the langcode of the field values held in the object.
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 Performs language negotiation.
LanguageNegotiationContentEntity::getLangcode function core/modules/language/src/Plugin/LanguageNegotiation/LanguageNegotiationContentEntity.php Performs language negotiation.
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 Performs language negotiation.
LanguageNegotiationSession::getLangcode function core/modules/language/src/Plugin/LanguageNegotiation/LanguageNegotiationSession.php Performs language negotiation.
LanguageNegotiationTest::getLangcode function core/modules/language/tests/language_test/src/Plugin/LanguageNegotiation/LanguageNegotiationTest.php Performs language negotiation.
LanguageNegotiationUI::getLangcode function core/modules/language/src/Plugin/LanguageNegotiation/LanguageNegotiationUI.php Performs language negotiation.
LanguageNegotiationUrl::getLangcode function core/modules/language/src/Plugin/LanguageNegotiation/LanguageNegotiationUrl.php Performs language negotiation.
LanguageNegotiationUrlFallback::getLangcode function core/modules/language/src/Plugin/LanguageNegotiation/LanguageNegotiationUrlFallback.php Performs language negotiation.
LanguageNegotiationUser::getLangcode function core/modules/user/src/Plugin/LanguageNegotiation/LanguageNegotiationUser.php Performs language negotiation.
LanguageNegotiationUserAdmin::getLangcode function core/modules/user/src/Plugin/LanguageNegotiation/LanguageNegotiationUserAdmin.php Performs language negotiation.
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 Get language code.
PoDatabaseWriter::getLangcode function core/modules/locale/src/PoDatabaseWriter.php Get language code.
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 Get language code.
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 Returns the language code associated with the given row.
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.