Search for langcode

  1. Search 7.x for langcode
  2. Search 8.9.x for langcode
  3. Search 10.3.x for langcode
  4. Search 11.x for langcode
  5. Other projects
Title Object type File name Summary
InstallerTranslationQueryTest::$langcode property core/tests/Drupal/FunctionalTests/Installer/InstallerTranslationQueryTest.php Overrides the language code in which to install Drupal.
InstallerTranslationTest::$langcode property core/tests/Drupal/FunctionalTests/Installer/InstallerTranslationTest.php Overrides the language code in which to install Drupal.
Language::getDefaultLangcode function core/lib/Drupal/Core/Language/Language.php Gets the default langcode.
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.
LanguageConfigurationElementTest::testDefaultLangcode function core/modules/language/tests/src/Functional/LanguageConfigurationElementTest.php Tests that the language_get_default_langcode() returns the correct values.
LanguageInterface::LANGCODE_DEFAULT constant core/lib/Drupal/Core/Language/LanguageInterface.php Language code referring to the default language of data, e.g. of an entity.
LanguageInterface::LANGCODE_NOT_APPLICABLE constant core/lib/Drupal/Core/Language/LanguageInterface.php The language code used when the marked object has no linguistic content.
LanguageInterface::LANGCODE_NOT_SPECIFIED constant core/lib/Drupal/Core/Language/LanguageInterface.php The language code used when no language is explicitly assigned (yet).
LanguageInterface::LANGCODE_SITE_DEFAULT constant core/lib/Drupal/Core/Language/LanguageInterface.php Language code referring to site's default language.
LanguageInterface::LANGCODE_SYSTEM constant core/lib/Drupal/Core/Language/LanguageInterface.php Special system language code (only applicable to UI language).
LanguageInterface::VALID_LANGCODE_REGEX constant core/lib/Drupal/Core/Language/LanguageInterface.php A regex for validating language codes according to W3C specifications.
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.
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
language_get_browser_drupal_langcode_mappings function core/modules/language/language.module Returns language mappings between browser and Drupal language codes.
language_get_default_langcode function core/modules/language/language.module Returns the default language code assigned to an entity type and a bundle.
LinkBase::addLangcode function core/modules/views/src/Plugin/views/field/LinkBase.php Adds language information to the options.
LocaleConfigManager::getActiveConfigLangcode function core/modules/locale/src/LocaleConfigManager.php Returns the current language code for this active configuration.
LocaleConfigManager::getDefaultConfigLangcode function core/modules/locale/src/LocaleConfigManager.php Returns the original language code for this shipped configuration.
LocaleConfigManager::updateDefaultConfigLangcodes function core/modules/locale/src/LocaleConfigManager.php Updates default configuration when new modules or themes are installed.
LocaleConfigManagerTest::testGetDefaultConfigLangcode function core/modules/locale/tests/src/Kernel/LocaleConfigManagerTest.php Tests getDefaultConfigLangcode().
LocaleConfigTranslationTest::$langcode property core/modules/locale/tests/src/Functional/LocaleConfigTranslationTest.php The language code used.
LocaleEvent::$langCodes property core/modules/locale/src/LocaleEvent.php The list of Language codes for updated translations.
LocaleEvent::getLangCodes function core/modules/locale/src/LocaleEvent.php Returns the language codes.
LocaleLookup::$langcode property core/modules/locale/src/LocaleLookup.php A language code.
locale_config_batch_set_config_langcodes function core/modules/locale/locale.bulk.inc Implements callback_batch_operation().
locale_system_set_config_langcodes function core/modules/locale/locale.module Updates default configuration when new modules or themes are installed.
NegotiationBrowserDeleteForm::$browserLangcode property core/modules/language/src/Form/NegotiationBrowserDeleteForm.php The browser language code to be deleted.
NegotiationBrowserForm::language_get_browser_drupal_langcode_mappings function core/modules/language/src/Form/NegotiationBrowserForm.php Retrieves the browser's langcode mapping configuration array.
NodeRevisionRevertTranslationForm::$langcode property core/modules/node/src/Form/NodeRevisionRevertTranslationForm.php The language to be reverted.
NodeTypeTranslationTest::$additionalLangcodes property core/modules/node/tests/src/Functional/NodeTypeTranslationTest.php Languages to enable.
NodeTypeTranslationTest::$defaultLangcode property core/modules/node/tests/src/Functional/NodeTypeTranslationTest.php The default language code to use in this test.
PoDatabaseReader::$langcode property core/modules/locale/src/PoDatabaseReader.php Language code of the language being read from the database.
PoDatabaseReader::getLangcode function core/modules/locale/src/PoDatabaseReader.php Get language code.
PoDatabaseReader::setLangcode function core/modules/locale/src/PoDatabaseReader.php Set language code.
PoDatabaseWriter::$langcode property core/modules/locale/src/PoDatabaseWriter.php Language code of the language being written to the database.
PoDatabaseWriter::getLangcode function core/modules/locale/src/PoDatabaseWriter.php Get language code.
PoDatabaseWriter::setLangcode function core/modules/locale/src/PoDatabaseWriter.php Set language code.
PoHeader::$langcode property core/lib/Drupal/Component/Gettext/PoHeader.php Language code.
PoItem::$langcode property core/lib/Drupal/Component/Gettext/PoItem.php The language code this translation is in.

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