Search for langcode

  1. Search 7.x for langcode
  2. Search 9.5.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
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 Returns the preferred administrative language code of the account.
AccountProxy::getPreferredLangcode function core/lib/Drupal/Core/Session/AccountProxy.php Returns the preferred language code of the account.
AliasManager::$langcodePreloaded property core/lib/Drupal/Core/Path/AliasManager.php Whether preloaded path lookups has already been loaded.
ConfigEntityBase::$langcode property core/lib/Drupal/Core/Config/Entity/ConfigEntityBase.php The language code of the entity's default language.
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 Gets the code identifying the active form language.
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 Checks whether the current form language matches the entity one.
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.
ContentTranslationTestBase::$langcodes property core/modules/content_translation/src/Tests/ContentTranslationTestBase.php The added languages.
DateTimePlus::$langcode property core/lib/Drupal/Component/Datetime/DateTimePlus.php The value of the language code passed to the constructor.
EntityFieldManagerTest::providerTestGetBaseFieldDefinitionsTranslatableEntityTypeDefaultLangcode function core/tests/Drupal/Tests/Core/Entity/EntityFieldManagerTest.php Provides test data for testGetBaseFieldDefinitionsTranslatableEntityTypeDefaultLangcode().
EntityFieldManagerTest::providerTestGetBaseFieldDefinitionsTranslatableEntityTypeLangcode function core/tests/Drupal/Tests/Core/Entity/EntityFieldManagerTest.php Provides test data for testGetBaseFieldDefinitionsTranslatableEntityTypeLangcode().
EntityFieldManagerTest::testGetBaseFieldDefinitionsTranslatableEntityTypeDefaultLangcode function core/tests/Drupal/Tests/Core/Entity/EntityFieldManagerTest.php Tests the getBaseFieldDefinitions() method with a translatable entity type.
EntityFieldManagerTest::testGetBaseFieldDefinitionsTranslatableEntityTypeLangcode function core/tests/Drupal/Tests/Core/Entity/EntityFieldManagerTest.php Tests the getBaseFieldDefinitions() method with a translatable entity type.
EntityStorageBase::$langcodeKey property core/lib/Drupal/Core/Entity/EntityStorageBase.php The name of the entity langcode property.
EntityUrlTest::$langcode property core/tests/Drupal/Tests/Core/Entity/EntityUrlTest.php The language code of the entity used in this test.
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::$langcode property core/lib/Drupal/Core/Field/FieldItemList.php 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.
FieldItemList::setLangcode function core/lib/Drupal/Core/Field/FieldItemList.php Sets 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.
FieldItemListInterface::setLangcode function core/lib/Drupal/Core/Field/FieldItemListInterface.php Sets the langcode of the field values held in the object.
InstallerTestBase::$langcode property core/modules/simpletest/src/InstallerTestBase.php The language code in which to install Drupal.
LangcodeToAsciiUpdateFilledTest class core/modules/system/tests/src/Functional/Entity/Update/LangcodeToAsciiUpdateFilledTest.php Runs LangcodeToAsciiUpdateTest with a dump filled with content.
LangcodeToAsciiUpdateFilledTest.php file core/modules/system/tests/src/Functional/Entity/Update/LangcodeToAsciiUpdateFilledTest.php
LangcodeToAsciiUpdateFilledTest::setDatabaseDumpFiles function core/modules/system/tests/src/Functional/Entity/Update/LangcodeToAsciiUpdateFilledTest.php Set database dump files to be used.
LangcodeToAsciiUpdateTest class core/modules/system/tests/src/Functional/Entity/Update/LangcodeToAsciiUpdateTest.php Tests that the entity langcode fields have been updated to varchar_ascii.
LangcodeToAsciiUpdateTest.php file core/modules/system/tests/src/Functional/Entity/Update/LangcodeToAsciiUpdateTest.php
LangcodeToAsciiUpdateTest::getColumnCollation function core/modules/system/tests/src/Functional/Entity/Update/LangcodeToAsciiUpdateTest.php Determine the column collation.
LangcodeToAsciiUpdateTest::setDatabaseDumpFiles function core/modules/system/tests/src/Functional/Entity/Update/LangcodeToAsciiUpdateTest.php Set database dump files to be used.
LangcodeToAsciiUpdateTest::testLangcodeColumnCollation function core/modules/system/tests/src/Functional/Entity/Update/LangcodeToAsciiUpdateTest.php Tests that the column collation has been updated on MySQL.
Language::getDefaultLangcode function core/lib/Drupal/Core/Language/Language.php Gets the default langcode.
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.
MediaLibraryUpdateViewLangcodeFiltersTest class core/modules/media_library/tests/src/Functional/Update/MediaLibraryUpdateViewLangcodeFiltersTest.php Tests the media library module updates for the langcode filters.

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