Search for definition

  1. Search 7.x for definition
  2. Search 9.5.x for definition
  3. Search 8.9.x for definition
  4. Search 10.3.x for definition
  5. Search main for definition
  6. Other projects
Title Object type File name Summary
EntityDefinitionTestTrait::addRevisionableBaseField function core/modules/system/tests/src/Functional/Entity/Traits/EntityDefinitionTestTrait.php Adds a new revisionable base field to the 'entity_test_update' entity type.
EntityDefinitionTestTrait::applyEntityUpdates function core/modules/system/tests/src/Functional/Entity/Traits/EntityDefinitionTestTrait.php Applies all the detected valid changes.
EntityDefinitionTestTrait::deleteEntityType function core/modules/system/tests/src/Functional/Entity/Traits/EntityDefinitionTestTrait.php Removes the entity type.
EntityDefinitionTestTrait::doEntityUpdate function core/modules/system/tests/src/Functional/Entity/Traits/EntityDefinitionTestTrait.php Performs an entity type definition update.
EntityDefinitionTestTrait::doFieldUpdate function core/modules/system/tests/src/Functional/Entity/Traits/EntityDefinitionTestTrait.php Performs a field storage definition update.
EntityDefinitionTestTrait::enableNewEntityType function core/modules/system/tests/src/Functional/Entity/Traits/EntityDefinitionTestTrait.php Enables a new entity type definition.
EntityDefinitionTestTrait::getUpdatedEntityTypeDefinition function core/modules/system/tests/src/Functional/Entity/Traits/EntityDefinitionTestTrait.php Returns an entity type definition, possibly updated to be rev or mul.
EntityDefinitionTestTrait::getUpdatedFieldStorageDefinitions function core/modules/system/tests/src/Functional/Entity/Traits/EntityDefinitionTestTrait.php Returns the required rev / mul field definitions for an entity type.
EntityDefinitionTestTrait::makeBaseFieldEntityKey function core/modules/system/tests/src/Functional/Entity/Traits/EntityDefinitionTestTrait.php Promotes a field to an entity key.
EntityDefinitionTestTrait::modifyBaseField function core/modules/system/tests/src/Functional/Entity/Traits/EntityDefinitionTestTrait.php Modifies the new base field from 'string' to 'text'.
EntityDefinitionTestTrait::modifyBundleField function core/modules/system/tests/src/Functional/Entity/Traits/EntityDefinitionTestTrait.php Modifies the new bundle field from 'string' to 'text'.
EntityDefinitionTestTrait::removeBaseField function core/modules/system/tests/src/Functional/Entity/Traits/EntityDefinitionTestTrait.php Removes the new base field from the 'entity_test_update' entity type.
EntityDefinitionTestTrait::removeBaseFieldIndex function core/modules/system/tests/src/Functional/Entity/Traits/EntityDefinitionTestTrait.php Removes the index added in addBaseFieldIndex().
EntityDefinitionTestTrait::removeBundleField function core/modules/system/tests/src/Functional/Entity/Traits/EntityDefinitionTestTrait.php Removes the new bundle field from the 'entity_test_update' entity type.
EntityDefinitionTestTrait::removeEntityIndex function core/modules/system/tests/src/Functional/Entity/Traits/EntityDefinitionTestTrait.php Removes the index added in addEntityIndex().
EntityDefinitionTestTrait::renameBaseTable function core/modules/system/tests/src/Functional/Entity/Traits/EntityDefinitionTestTrait.php Renames the base table to 'entity_test_update_new'.
EntityDefinitionTestTrait::renameDataTable function core/modules/system/tests/src/Functional/Entity/Traits/EntityDefinitionTestTrait.php Renames the data table to 'entity_test_update_data_new'.
EntityDefinitionTestTrait::renameRevisionBaseTable function core/modules/system/tests/src/Functional/Entity/Traits/EntityDefinitionTestTrait.php Renames the revision table to 'entity_test_update_revision_new'.
EntityDefinitionTestTrait::renameRevisionDataTable function core/modules/system/tests/src/Functional/Entity/Traits/EntityDefinitionTestTrait.php Renames the revision data table to 'entity_test_update_revision_data_new'.
EntityDefinitionTestTrait::resetEntityType function core/modules/system/tests/src/Functional/Entity/Traits/EntityDefinitionTestTrait.php Resets the entity type definition.
EntityDefinitionTestTrait::updateEntityTypeToNotRevisionable function core/modules/system/tests/src/Functional/Entity/Traits/EntityDefinitionTestTrait.php Updates the 'entity_test_update' entity type not revisionable.
EntityDefinitionTestTrait::updateEntityTypeToNotTranslatable function core/modules/system/tests/src/Functional/Entity/Traits/EntityDefinitionTestTrait.php Updates the 'entity_test_update' entity type to not translatable.
EntityDefinitionTestTrait::updateEntityTypeToRevisionable function core/modules/system/tests/src/Functional/Entity/Traits/EntityDefinitionTestTrait.php Updates the 'entity_test_update' entity type to revisionable.
EntityDefinitionTestTrait::updateEntityTypeToRevisionableAndTranslatable function core/modules/system/tests/src/Functional/Entity/Traits/EntityDefinitionTestTrait.php Updates the test entity type to be revisionable and translatable.
EntityDefinitionTestTrait::updateEntityTypeToTranslatable function core/modules/system/tests/src/Functional/Entity/Traits/EntityDefinitionTestTrait.php Updates the 'entity_test_update' entity type to translatable.
EntityDefinitionUpdateBundleTest class core/tests/Drupal/KernelTests/Core/Entity/EntityDefinitionUpdateBundleTest.php Tests EntityDefinitionUpdateManager functionality.
EntityDefinitionUpdateBundleTest.php file core/tests/Drupal/KernelTests/Core/Entity/EntityDefinitionUpdateBundleTest.php
EntityDefinitionUpdateBundleTest::$database property core/tests/Drupal/KernelTests/Core/Entity/EntityDefinitionUpdateBundleTest.php The database connection.
EntityDefinitionUpdateBundleTest::$entityDefinitionUpdateManager property core/tests/Drupal/KernelTests/Core/Entity/EntityDefinitionUpdateBundleTest.php The entity definition update manager.
EntityDefinitionUpdateBundleTest::$entityFieldManager property core/tests/Drupal/KernelTests/Core/Entity/EntityDefinitionUpdateBundleTest.php The entity field manager.
EntityDefinitionUpdateBundleTest::$modules property core/tests/Drupal/KernelTests/Core/Entity/EntityDefinitionUpdateBundleTest.php Modules to install.
EntityDefinitionUpdateBundleTest::setUp function core/tests/Drupal/KernelTests/Core/Entity/EntityDefinitionUpdateBundleTest.php
EntityDefinitionUpdateBundleTest::testBundleFieldCreateDeleteWithExistingEntities function core/tests/Drupal/KernelTests/Core/Entity/EntityDefinitionUpdateBundleTest.php Tests creating and deleting a bundle field if entities exist.
EntityDefinitionUpdateBundleTest::testBundleFieldCreateUpdateDeleteWithoutData function core/tests/Drupal/KernelTests/Core/Entity/EntityDefinitionUpdateBundleTest.php Tests creating, updating, and deleting a bundle field if no entities exist.
EntityDefinitionUpdateBundleTest::testBundleFieldDeleteWithExistingData function core/tests/Drupal/KernelTests/Core/Entity/EntityDefinitionUpdateBundleTest.php Tests deleting a bundle field when it has existing data.
EntityDefinitionUpdateBundleTest::testBundleFieldUpdateWithEntityTypeSchemaUpdate function core/tests/Drupal/KernelTests/Core/Entity/EntityDefinitionUpdateBundleTest.php Tests updating a bundle field when the entity type schema has changed.
EntityDefinitionUpdateBundleTest::testBundleFieldUpdateWithExistingData function core/tests/Drupal/KernelTests/Core/Entity/EntityDefinitionUpdateBundleTest.php Tests updating a bundle field when it has existing data.
EntityDefinitionUpdateManager class core/lib/Drupal/Core/Entity/EntityDefinitionUpdateManager.php Manages entity definition updates.
EntityDefinitionUpdateManager.php file core/lib/Drupal/Core/Entity/EntityDefinitionUpdateManager.php
EntityDefinitionUpdateManager::$entityFieldManager property core/lib/Drupal/Core/Entity/EntityDefinitionUpdateManager.php The entity field manager service.
EntityDefinitionUpdateManager::$entityLastInstalledSchemaRepository property core/lib/Drupal/Core/Entity/EntityDefinitionUpdateManager.php The last installed schema repository.
EntityDefinitionUpdateManager::$entityTypeListener property core/lib/Drupal/Core/Entity/EntityDefinitionUpdateManager.php The entity type listener service.
EntityDefinitionUpdateManager::$entityTypeManager property core/lib/Drupal/Core/Entity/EntityDefinitionUpdateManager.php The entity type manager service.
EntityDefinitionUpdateManager::$fieldStorageDefinitionListener property core/lib/Drupal/Core/Entity/EntityDefinitionUpdateManager.php The field storage definition listener service.
EntityDefinitionUpdateManager::clearCachedDefinitions function core/lib/Drupal/Core/Entity/EntityDefinitionUpdateManager.php Clears necessary caches to apply entity/field definition updates.
EntityDefinitionUpdateManager::getChangeList function core/lib/Drupal/Core/Entity/EntityDefinitionUpdateManager.php Gets a list of changes to entity type and field storage definitions.
EntityDefinitionUpdateManager::getChangeSummary function core/lib/Drupal/Core/Entity/EntityDefinitionUpdateManager.php Gets a human readable summary of the detected changes.
EntityDefinitionUpdateManager::getEntityType function core/lib/Drupal/Core/Entity/EntityDefinitionUpdateManager.php Returns an entity type definition ready to be manipulated.
EntityDefinitionUpdateManager::getEntityTypes function core/lib/Drupal/Core/Entity/EntityDefinitionUpdateManager.php Returns all the entity type definitions, ready to be manipulated.
EntityDefinitionUpdateManager::getFieldStorageDefinition function core/lib/Drupal/Core/Entity/EntityDefinitionUpdateManager.php Returns a field storage definition ready to be manipulated.

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