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
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.
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.
ConfigTranslationUiTestBase::$langcodes property core/modules/config_translation/tests/src/Functional/ConfigTranslationUiTestBase.php Languages to enable.
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.
DateTimePlus::$langcode property core/lib/Drupal/Component/Datetime/DateTimePlus.php The value of the language code passed to the constructor.
EntityBaseTest::$langcode property core/tests/Drupal/Tests/Core/Entity/KeyValueStore/KeyValueEntityStorageTest.php The language code for the entity.
EntityCreateAccessCustomCidTest::$langcode property core/tests/Drupal/Tests/Core/Entity/Access/EntityCreateAccessCustomCidTest.php A language code.
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.
EntityTestHooks::entityTestMulLangcodeKeyTranslationCreate function core/modules/system/tests/modules/entity_test/src/Hook/EntityTestHooks.php Implements hook_ENTITY_TYPE_translation_create() for 'entity_test_mul_langcode_key'.
EntityTestHooks::entityTestMulLangcodeKeyTranslationDelete function core/modules/system/tests/modules/entity_test/src/Hook/EntityTestHooks.php Implements hook_ENTITY_TYPE_translation_delete() for 'entity_test_mul_langcode_key'.
EntityTestHooks::entityTestMulLangcodeKeyTranslationInsert function core/modules/system/tests/modules/entity_test/src/Hook/EntityTestHooks.php Implements hook_ENTITY_TYPE_translation_insert() for 'entity_test_mul_langcode_key'.
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.
LangcodeRequiredIfTranslatableValuesConstraint class core/lib/Drupal/Core/Config/Plugin/Validation/Constraint/LangcodeRequiredIfTranslatableValuesConstraint.php Validation constraint for translatable configuration.
LangcodeRequiredIfTranslatableValuesConstraint.php file core/lib/Drupal/Core/Config/Plugin/Validation/Constraint/LangcodeRequiredIfTranslatableValuesConstraint.php
LangcodeRequiredIfTranslatableValuesConstraint::$missingMessage property core/lib/Drupal/Core/Config/Plugin/Validation/Constraint/LangcodeRequiredIfTranslatableValuesConstraint.php The error message if this config object is missing a `langcode`.
LangcodeRequiredIfTranslatableValuesConstraint::$superfluousMessage property core/lib/Drupal/Core/Config/Plugin/Validation/Constraint/LangcodeRequiredIfTranslatableValuesConstraint.php The error message if this config object contains a superfluous `langcode`.
LangcodeRequiredIfTranslatableValuesConstraintValidator class core/lib/Drupal/Core/Config/Plugin/Validation/Constraint/LangcodeRequiredIfTranslatableValuesConstraintValidator.php Validates the LangcodeRequiredIfTranslatableValues constraint.
LangcodeRequiredIfTranslatableValuesConstraintValidator.php file core/lib/Drupal/Core/Config/Plugin/Validation/Constraint/LangcodeRequiredIfTranslatableValuesConstraintValidator.php
LangcodeRequiredIfTranslatableValuesConstraintValidator::validate function core/lib/Drupal/Core/Config/Plugin/Validation/Constraint/LangcodeRequiredIfTranslatableValuesConstraintValidator.php
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.

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