Search for code

  1. Search 7.x for code
  2. Search 9.5.x for code
  3. Search 8.9.x for code
  4. Search 10.3.x for code
  5. Search main for code
  6. Other projects
Title Object type File name Summary
CountryCodeConstraintTest class core/tests/Drupal/Tests/Core/Validation/Plugin/Validation/Constraint/CountryCodeConstraintTest.php Tests Country Code Constraint.
CountryCodeConstraintTest.php file core/tests/Drupal/Tests/Core/Validation/Plugin/Validation/Constraint/CountryCodeConstraintTest.php
CountryCodeConstraintTest::testConstraintLoadsChoicesFromCountryManager function core/tests/Drupal/Tests/Core/Validation/Plugin/Validation/Constraint/CountryCodeConstraintTest.php
DatabaseStorage::decode function core/lib/Drupal/Core/Config/DatabaseStorage.php Decodes configuration data from the storage-specific format.
DatabaseStorage::encode function core/lib/Drupal/Core/Config/DatabaseStorage.php Encodes configuration data into the storage-specific format.
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.
DebugDump::decodeDump function core/tests/Drupal/TestTools/Extension/Dump/DebugDump.php Decodes a dump retrieved from storage.
DebugDump::encodeDump function core/tests/Drupal/TestTools/Extension/Dump/DebugDump.php Encodes the dump for storing.
DefaultLangcode class core/modules/language/src/Plugin/migrate/destination/DefaultLangcode.php Provides a destination plugin for the default langcode config.
DefaultLangcode.php file core/modules/language/src/Plugin/migrate/destination/DefaultLangcode.php
DefaultLangcode::import function core/modules/language/src/Plugin/migrate/destination/DefaultLangcode.php
DefaultLanguageItem::getDefaultLangcode function core/modules/language/src/DefaultLanguageItem.php Provides default language code of given entity.
DefaultLanguageRenderer::getLangcode function core/modules/views/src/Entity/Render/DefaultLanguageRenderer.php
DefaultLanguageRenderer::getLangcodeByRelationship function core/modules/views/src/Entity/Render/DefaultLanguageRenderer.php
DerivativeDiscoveryDecorator::decodePluginId function core/lib/Drupal/Component/Plugin/Discovery/DerivativeDiscoveryDecorator.php Decodes derivative id and plugin id from a string.
DerivativeDiscoveryDecorator::encodePluginId function core/lib/Drupal/Component/Plugin/Discovery/DerivativeDiscoveryDecorator.php Encodes plugin and derivative id's into a string.
DisplayFeedTranslationTest::$langcodes property core/modules/views/tests/src/Functional/Plugin/DisplayFeedTranslationTest.php The added languages.
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.
DrupalInstalledTemplate::getCode function composer/Plugin/Scaffold/DrupalInstalledTemplate.php Gets the code for the DrupalInstalled class.
DrupalLogErrorTest::provideFatalExitCodeData function core/tests/Drupal/Tests/Core/Error/DrupalLogErrorTest.php
DrupalLogErrorTest::testFatalExitCode function core/tests/Drupal/Tests/Core/Error/DrupalLogErrorTest.php Tests that fatal errors return a non-zero exit code.
EntityBaseTest::$langcode property core/tests/Drupal/Tests/Core/Entity/KeyValueStore/KeyValueEntityStorageTest.php The language code for the entity.
EntityConstraintViolationList::findByCodes function core/lib/Drupal/Core/Entity/EntityConstraintViolationList.php Filters this violation list by the given error codes.
EntityConstraintViolationListInterface::findByCodes function core/lib/Drupal/Core/Entity/EntityConstraintViolationListInterface.php Filters this violation list by the given error codes.
EntityConstraintViolationListTest::testFindByCodes function core/tests/Drupal/Tests/Core/Entity/EntityConstraintViolationListTest.php Tests find by codes.
EntityCreateAccessCustomCidTest::$langcode property core/tests/Drupal/Tests/Core/Entity/Access/EntityCreateAccessCustomCidTest.php A language code.
EntityDefaultLanguageTest::testEntityTranslationDefaultLanguageViaCode function core/modules/language/tests/src/Kernel/EntityDefaultLanguageTest.php Tests that default language code is properly set for new nodes.
EntityDefinitionUpdateMultipleTypesTest::testInstallFieldableEntityTypeWithoutInCodeDefinition function core/tests/Drupal/KernelTests/Core/Entity/EntityDefinitionUpdateMultipleTypesTest.php Tests creating a fieldable entity type that doesn't exist in code anymore.
EntityDefinitionUpdateMultipleTypesTest::testUninstallEntityTypeWithoutInCodeDefinition function core/tests/Drupal/KernelTests/Core/Entity/EntityDefinitionUpdateMultipleTypesTest.php Tests uninstalling an entity type that doesn't exist in code anymore.
EntityDefinitionUpdateMultipleTypesTest::testUninstallRevisionableEntityTypeWithoutInCodeDefinition function core/tests/Drupal/KernelTests/Core/Entity/EntityDefinitionUpdateMultipleTypesTest.php Tests uninstalling a revisionable entity type that doesn't exist in code.
EntityDefinitionUpdateMultipleTypesTest::testUpdateEntityTypeWithoutInCodeDefinition function core/tests/Drupal/KernelTests/Core/Entity/EntityDefinitionUpdateMultipleTypesTest.php Tests updating an entity type that doesn't exist in code anymore.
EntityDefinitionUpdateMultipleTypesTest::testUpdateFieldableEntityTypeWithoutInCodeDefinition function core/tests/Drupal/KernelTests/Core/Entity/EntityDefinitionUpdateMultipleTypesTest.php Tests updating a fieldable entity type that doesn't exist in code anymore.
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.
EntityReferenceFieldTranslatedReferenceViewTest::$baseLangcode property core/modules/field/tests/src/Functional/EntityReference/EntityReferenceFieldTranslatedReferenceViewTest.php The langcode of the source language.
EntityReferenceFieldTranslatedReferenceViewTest::$translateToLangcode property core/modules/field/tests/src/Functional/EntityReference/EntityReferenceFieldTranslatedReferenceViewTest.php Target langcode for translation.
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'.
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 The test language codes.
EntityTranslationRendererBase::getLangcode function core/modules/views/src/Entity/Render/EntityTranslationRendererBase.php Returns the language code associated with the given row.
EntityTranslationRendererBase::getLangcodeByRelationship function core/modules/views/src/Entity/Render/EntityTranslationRendererBase.php Returns the language code associated with the given row.

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