Search for langcode

  1. Search 7.x for langcode
  2. Search 9.5.x for langcode
  3. Search 8.9.x for langcode
  4. Search 10.3.x for langcode
  5. Other projects
Title Object type File name Summary
AccountForm::alterPreferredLangcodeDescription function core/modules/user/src/AccountForm.php Alters the preferred language widget description.
AccountForm::syncUserLangcode function core/modules/user/src/AccountForm.php Synchronizes preferred language and entity language.
AccountInterface::getPreferredAdminLangcode function core/lib/Drupal/Core/Session/AccountInterface.php Returns the preferred administrative language code of the account.
AccountInterface::getPreferredLangcode function core/lib/Drupal/Core/Session/AccountInterface.php Returns the preferred language code of the account.
AccountProxy::getPreferredAdminLangcode function core/lib/Drupal/Core/Session/AccountProxy.php
AccountProxy::getPreferredLangcode function core/lib/Drupal/Core/Session/AccountProxy.php
AliasManager::$langcodePreloaded property core/modules/path_alias/src/AliasManager.php Whether preloaded path lookups has already been loaded.
AliasManagerTest::testGetPathByAliasLangcode function core/modules/path_alias/tests/src/Unit/AliasManagerTest.php Tests the getPathByAlias method when a langcode is passed explicitly.
BlockLanguageCacheTest::$langcodes property core/modules/block/tests/src/Functional/BlockLanguageCacheTest.php List of langcodes.
BookMultilingualTest::LANGCODE constant core/modules/book/tests/src/Kernel/BookMultilingualTest.php The translation langcode.
BookMultilingualTest::langcodesProvider function core/modules/book/tests/src/Kernel/BookMultilingualTest.php Data provider for ::testMultilingualBooks().
ConfigEntityBase::$langcode property core/lib/Drupal/Core/Config/Entity/ConfigEntityBase.php The language code of the entity's default language.
ConfigEntityValidationTestBase::testLangcode function core/tests/Drupal/KernelTests/Core/Config/ConfigEntityValidationTestBase.php Tests that the config entity's langcode is validated.
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.
ConfigMapperInterface::setLangcode function core/modules/config_translation/src/ConfigMapperInterface.php Sets the original language code.
ConfigNamesMapper::$langcode property core/modules/config_translation/src/ConfigNamesMapper.php The language code of the language this mapper, if any.
ConfigNamesMapper::getLangcode function core/modules/config_translation/src/ConfigNamesMapper.php
ConfigNamesMapper::getLangcodeFromConfig function core/modules/config_translation/src/ConfigNamesMapper.php
ConfigNamesMapper::setLangcode function core/modules/config_translation/src/ConfigNamesMapper.php
ConfigNamesMapperTest::testGetLangcode function core/modules/config_translation/tests/src/Unit/ConfigNamesMapperTest.php Tests ConfigNamesMapper::getLangcode().
ConfigSchemaTest::testLangcodeRequiredIfTranslatableValuesConstraintError function core/tests/Drupal/KernelTests/Core/Config/ConfigSchemaTest.php
ConfigTranslationCacheTest::$langcodes property core/modules/config_translation/tests/src/Functional/ConfigTranslationCacheTest.php Languages to enable.
ConfigTranslationInstallTest::$langcode property core/modules/config_translation/tests/src/Functional/ConfigTranslationInstallTest.php
ConfigTranslationOverviewTest::$langcodes property core/modules/config_translation/tests/src/Functional/ConfigTranslationOverviewTest.php Languages to enable.
ConfigTranslationUiTestBase::$langcodes property core/modules/config_translation/tests/src/Functional/ConfigTranslationUiTestBase.php Languages to enable.
ConfigTranslationUiThemeTest::$langcodes property core/modules/config_translation/tests/src/Functional/ConfigTranslationUiThemeTest.php Languages to enable.
ConfigurableLanguage::createFromLangcode function core/modules/language/src/Entity/ConfigurableLanguage.php Creates a configurable language object from a langcode.
ConfigurableLanguage::getDefaultLangcode function core/modules/language/src/Entity/ConfigurableLanguage.php Gets the default langcode.
ConfigurableLanguageRenderer::$langcode property core/modules/views/src/Entity/Render/ConfigurableLanguageRenderer.php A specific language code for rendering if available.
ConfigurableLanguageRenderer::getLangcode function core/modules/views/src/Entity/Render/ConfigurableLanguageRenderer.php
ContentEntityBase::$activeLangcode property core/lib/Drupal/Core/Entity/ContentEntityBase.php Language code identifying the entity active language.
ContentEntityBase::$defaultLangcode property core/lib/Drupal/Core/Entity/ContentEntityBase.php Local cache for the default language code.
ContentEntityBase::$defaultLangcodeKey property core/lib/Drupal/Core/Entity/ContentEntityBase.php The default langcode entity key.
ContentEntityBase::$langcodeKey property core/lib/Drupal/Core/Entity/ContentEntityBase.php The language entity key.
ContentEntityBase::setDefaultLangcode function core/lib/Drupal/Core/Entity/ContentEntityBase.php Populates the local cache for the default language code.
ContentEntityBase::updateFieldLangcodes function core/lib/Drupal/Core/Entity/ContentEntityBase.php Updates language for already instantiated fields.
ContentEntityForm::getFormLangcode function core/lib/Drupal/Core/Entity/ContentEntityForm.php
ContentEntityForm::initFormLangcodes function core/lib/Drupal/Core/Entity/ContentEntityForm.php Initializes form language code values.
ContentEntityForm::isDefaultFormLangcode function core/lib/Drupal/Core/Entity/ContentEntityForm.php
ContentEntityForm::updateFormLangcode function core/lib/Drupal/Core/Entity/ContentEntityForm.php Updates the form language to reflect any change to the entity language.
ContentEntityFormInterface::getFormLangcode function core/lib/Drupal/Core/Entity/ContentEntityFormInterface.php Gets the code identifying the active form language.
ContentEntityFormInterface::isDefaultFormLangcode function core/lib/Drupal/Core/Entity/ContentEntityFormInterface.php Checks whether the current form language matches the entity one.
ContentLanguageSettings::$default_langcode property core/modules/language/src/Entity/ContentLanguageSettings.php The default language code.
ContentLanguageSettings::getAllValidDefaultLangcodes function core/modules/language/src/Entity/ContentLanguageSettings.php Returns all valid values for the `default_langcode` property.
ContentLanguageSettings::getDefaultLangcode function core/modules/language/src/Entity/ContentLanguageSettings.php
ContentLanguageSettings::setDefaultLangcode function core/modules/language/src/Entity/ContentLanguageSettings.php
ContentLanguageSettingsInterface::getDefaultLangcode function core/modules/language/src/ContentLanguageSettingsInterface.php Gets the default language code.
ContentLanguageSettingsInterface::setDefaultLangcode function core/modules/language/src/ContentLanguageSettingsInterface.php Sets the default language code.
ContentLanguageSettingsUnitTest::providerDefaultLangcode function core/modules/language/tests/src/Unit/ContentLanguageSettingsUnitTest.php

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