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
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 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.
BlockLanguageCacheTest::$langcodes property core/modules/block/tests/src/Functional/BlockLanguageCacheTest.php List of langcodes.
CKEditor::getLangcodes function core/modules/ckeditor/src/Plugin/Editor/CKEditor.php Returns a list of language codes supported by CKEditor.
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.
DateFormatterTest::LANGCODE constant core/tests/Drupal/KernelTests/Core/Datetime/DateFormatterTest.php Arbitrary langcode for a custom language.
DateTimePlus::$langcode property core/lib/Drupal/Component/Datetime/DateTimePlus.php The value of the language code passed to the constructor.
DistributionProfileTranslationQueryTest::$langcode property core/tests/Drupal/FunctionalTests/Installer/DistributionProfileTranslationQueryTest.php The language code in which to install Drupal.
DistributionProfileTranslationTest::$langcode property core/tests/Drupal/FunctionalTests/Installer/DistributionProfileTranslationTest.php The language code in which to install Drupal.
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.
EntityLanguageTestBase::$langcodes property core/tests/Drupal/KernelTests/Core/Entity/EntityLanguageTestBase.php The available language codes.
EntityStorageBase::$langcodeKey property core/lib/Drupal/Core/Entity/EntityStorageBase.php The name of the entity langcode property.
EntityTestMulLangcodeKey class core/modules/system/tests/modules/entity_test/src/Entity/EntityTestMulLangcodeKey.php Defines a test entity class using a custom langcode entity key.
EntityTestMulLangcodeKey.php file core/modules/system/tests/modules/entity_test/src/Entity/EntityTestMulLangcodeKey.php
EntityTranslationFormTest::$langcodes property core/modules/system/tests/src/Functional/Entity/EntityTranslationFormTest.php
EntityUrlTest::$langcode property core/tests/Drupal/Tests/Core/Entity/EntityUrlTest.php The language code of the entity used in this test.
entity_test_entity_test_mul_langcode_key_translation_create function core/modules/system/tests/modules/entity_test/entity_test.module Implements hook_ENTITY_TYPE_translation_create() for 'entity_test_mul_langcode_key'.
entity_test_entity_test_mul_langcode_key_translation_delete function core/modules/system/tests/modules/entity_test/entity_test.module Implements hook_ENTITY_TYPE_translation_delete() for 'entity_test_mul_langcode_key'.
entity_test_entity_test_mul_langcode_key_translation_insert function core/modules/system/tests/modules/entity_test/entity_test.module Implements hook_ENTITY_TYPE_translation_insert() for 'entity_test_mul_langcode_key'.
FeedLanguageTest::$langcodes property core/modules/aggregator/tests/src/Functional/FeedLanguageTest.php List of langcodes.
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.
FieldTranslationSqlStorageTest::assertFieldStorageLangcode function core/tests/Drupal/KernelTests/Core/Entity/FieldTranslationSqlStorageTest.php Checks whether field languages are correctly stored for the given entity.
InstallerLanguageDirectionTest::$langcode property core/tests/Drupal/FunctionalTests/Installer/InstallerLanguageDirectionTest.php Overrides the language code the installer should use.
InstallerTestBase::$langcode property core/tests/Drupal/FunctionalTests/Installer/InstallerTestBase.php The language code in which to install Drupal.
InstallerTranslationExistingFileTest::$langcode property core/tests/Drupal/FunctionalTests/Installer/InstallerTranslationExistingFileTest.php Overrides the language code in which to install Drupal.

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