Search for definition

  1. Search 7.x for definition
  2. Search 9.5.x for definition
  3. Search 10.3.x for definition
  4. Search 11.x for definition
  5. Other projects
Title Object type File name Summary
EntityDefinitionUpdateManagerInterface::installFieldStorageDefinition function core/lib/Drupal/Core/Entity/EntityDefinitionUpdateManagerInterface.php Installs a new field storage definition.
EntityDefinitionUpdateManagerInterface::needsUpdates function core/lib/Drupal/Core/Entity/EntityDefinitionUpdateManagerInterface.php Checks if there are any definition updates that need to be applied.
EntityDefinitionUpdateManagerInterface::uninstallEntityType function core/lib/Drupal/Core/Entity/EntityDefinitionUpdateManagerInterface.php Uninstalls an entity type definition.
EntityDefinitionUpdateManagerInterface::uninstallFieldStorageDefinition function core/lib/Drupal/Core/Entity/EntityDefinitionUpdateManagerInterface.php Uninstalls a field storage definition.
EntityDefinitionUpdateManagerInterface::updateEntityType function core/lib/Drupal/Core/Entity/EntityDefinitionUpdateManagerInterface.php Applies any change performed to the passed entity type definition.
EntityDefinitionUpdateManagerInterface::updateFieldableEntityType function core/lib/Drupal/Core/Entity/EntityDefinitionUpdateManagerInterface.php Applies any change performed to a fieldable entity type definition.
EntityDefinitionUpdateManagerInterface::updateFieldStorageDefinition function core/lib/Drupal/Core/Entity/EntityDefinitionUpdateManagerInterface.php Applies any change performed to the passed field storage definition.
EntityDefinitionUpdateManagerTest class core/tests/Drupal/Tests/Core/Entity/EntityDefinitionUpdateManagerTest.php @coversDefaultClass \Drupal\Core\Entity\EntityDefinitionUpdateManager
@group Entity
@group legacy
EntityDefinitionUpdateManagerTest.php file core/tests/Drupal/Tests/Core/Entity/EntityDefinitionUpdateManagerTest.php
EntityDefinitionUpdateManagerTest::testDeprecatedApplyUpdates function core/tests/Drupal/Tests/Core/Entity/EntityDefinitionUpdateManagerTest.php @expectedDeprecation Unsilenced deprecation: EntityDefinitionUpdateManagerInterface::applyUpdates() is deprecated in 8.7.0 and will be removed before Drupal 9.0.0. Use \Drupal\Core\Entity\EntityDefinitionUpdateManagerInterface::getChangeList() and…
EntityDefinitionUpdateTest class core/tests/Drupal/KernelTests/Core/Entity/EntityDefinitionUpdateTest.php Tests EntityDefinitionUpdateManager functionality.
EntityDefinitionUpdateTest.php file core/tests/Drupal/KernelTests/Core/Entity/EntityDefinitionUpdateTest.php
EntityDefinitionUpdateTest::$database property core/tests/Drupal/KernelTests/Core/Entity/EntityDefinitionUpdateTest.php The database connection.
EntityDefinitionUpdateTest::$entityDefinitionUpdateManager property core/tests/Drupal/KernelTests/Core/Entity/EntityDefinitionUpdateTest.php The entity definition update manager.
EntityDefinitionUpdateTest::$entityFieldManager property core/tests/Drupal/KernelTests/Core/Entity/EntityDefinitionUpdateTest.php The entity field manager.
EntityDefinitionUpdateTest::$modules property core/tests/Drupal/KernelTests/Core/Entity/EntityDefinitionUpdateTest.php Modules to enable.
EntityDefinitionUpdateTest::baseFieldDeleteWithExistingDataTestCases function core/tests/Drupal/KernelTests/Core/Entity/EntityDefinitionUpdateTest.php Test cases for ::testBaseFieldDeleteWithExistingData.
EntityDefinitionUpdateTest::initialValueFromFieldTestCases function core/tests/Drupal/KernelTests/Core/Entity/EntityDefinitionUpdateTest.php Test cases for ::testInitialValueFromField.
EntityDefinitionUpdateTest::setUp function core/tests/Drupal/KernelTests/Core/Entity/EntityDefinitionUpdateTest.php
EntityDefinitionUpdateTest::testBaseFieldCreateDeleteWithExistingEntities function core/tests/Drupal/KernelTests/Core/Entity/EntityDefinitionUpdateTest.php Tests creating and deleting a base field if entities exist.
EntityDefinitionUpdateTest::testBaseFieldCreateUpdateDeleteWithoutData function core/tests/Drupal/KernelTests/Core/Entity/EntityDefinitionUpdateTest.php Tests creating, updating, and deleting a base field if no entities exist.
EntityDefinitionUpdateTest::testBaseFieldDeleteWithExistingData function core/tests/Drupal/KernelTests/Core/Entity/EntityDefinitionUpdateTest.php Tests deleting a base field when it has existing data.
EntityDefinitionUpdateTest::testBaseFieldEntityKeyUpdateWithExistingData function core/tests/Drupal/KernelTests/Core/Entity/EntityDefinitionUpdateTest.php Tests updating a base field when it has existing data.
EntityDefinitionUpdateTest::testBaseFieldUpdateWithExistingData function core/tests/Drupal/KernelTests/Core/Entity/EntityDefinitionUpdateTest.php Tests updating a base field when it has existing data.
EntityDefinitionUpdateTest::testBaseFieldWithoutLabelCreateUpdateDelete function core/tests/Drupal/KernelTests/Core/Entity/EntityDefinitionUpdateTest.php Tests creating, updating, and deleting a base field with no label set
EntityDefinitionUpdateTest::testBundleFieldCreateDeleteWithExistingEntities function core/tests/Drupal/KernelTests/Core/Entity/EntityDefinitionUpdateTest.php Tests creating and deleting a bundle field if entities exist.
EntityDefinitionUpdateTest::testBundleFieldCreateUpdateDeleteWithoutData function core/tests/Drupal/KernelTests/Core/Entity/EntityDefinitionUpdateTest.php Tests creating, updating, and deleting a bundle field if no entities exist.
EntityDefinitionUpdateTest::testBundleFieldDeleteWithExistingData function core/tests/Drupal/KernelTests/Core/Entity/EntityDefinitionUpdateTest.php Tests deleting a bundle field when it has existing data.
EntityDefinitionUpdateTest::testBundleFieldUpdateWithEntityTypeSchemaUpdate function core/tests/Drupal/KernelTests/Core/Entity/EntityDefinitionUpdateTest.php Tests updating a bundle field when the entity type schema has changed.
EntityDefinitionUpdateTest::testBundleFieldUpdateWithExistingData function core/tests/Drupal/KernelTests/Core/Entity/EntityDefinitionUpdateTest.php Tests updating a bundle field when it has existing data.
EntityDefinitionUpdateTest::testCreateFieldAndIndexOnSharedTable function core/tests/Drupal/KernelTests/Core/Entity/EntityDefinitionUpdateTest.php Ensures that a new field and index on a shared table are created.
EntityDefinitionUpdateTest::testCreateIndexUsingEntityStorageSchemaWithData function core/tests/Drupal/KernelTests/Core/Entity/EntityDefinitionUpdateTest.php Ensures that a new entity level index is created when data exists.
EntityDefinitionUpdateTest::testDefinitionEvents function core/tests/Drupal/KernelTests/Core/Entity/EntityDefinitionUpdateTest.php Tests entity type and field storage definition events.
EntityDefinitionUpdateTest::testEntityIndexCreateDeleteWithoutData function core/tests/Drupal/KernelTests/Core/Entity/EntityDefinitionUpdateTest.php Tests creating and deleting a multi-field index when there are no existing entities.
EntityDefinitionUpdateTest::testEntityIndexCreateWithData function core/tests/Drupal/KernelTests/Core/Entity/EntityDefinitionUpdateTest.php Tests creating a multi-field index when there are existing entities.
EntityDefinitionUpdateTest::testEntityTypeUpdateWithEntityStorageChange function core/tests/Drupal/KernelTests/Core/Entity/EntityDefinitionUpdateTest.php Tests updating entity schema when there are entity storage changes.
EntityDefinitionUpdateTest::testEntityTypeUpdateWithoutData function core/tests/Drupal/KernelTests/Core/Entity/EntityDefinitionUpdateTest.php Tests updating entity schema when there are no existing entities.
EntityDefinitionUpdateTest::testGetEntityTypes function core/tests/Drupal/KernelTests/Core/Entity/EntityDefinitionUpdateTest.php @covers ::getEntityTypes
EntityDefinitionUpdateTest::testInitialValue function core/tests/Drupal/KernelTests/Core/Entity/EntityDefinitionUpdateTest.php Tests adding a base field with initial values.
EntityDefinitionUpdateTest::testInitialValueFromField function core/tests/Drupal/KernelTests/Core/Entity/EntityDefinitionUpdateTest.php Tests adding a base field with initial values inherited from another field.
EntityDefinitionUpdateTest::testInitialValueFromFieldErrorHandling function core/tests/Drupal/KernelTests/Core/Entity/EntityDefinitionUpdateTest.php Tests the error handling when using initial values from another field.
EntityDefinitionUpdateTest::testInstallAdditionalBaseFieldDuringFieldableEntityTypeInstallation function core/tests/Drupal/KernelTests/Core/Entity/EntityDefinitionUpdateTest.php Tests installing an additional base field while installing an entity type.
EntityDefinitionUpdateTest::testInstallFieldableEntityTypeWithoutInCodeDefinition function core/tests/Drupal/KernelTests/Core/Entity/EntityDefinitionUpdateTest.php Tests creating a fieldable entity type that doesn't exist in code anymore.
EntityDefinitionUpdateTest::testLongNameFieldIndexes function core/tests/Drupal/KernelTests/Core/Entity/EntityDefinitionUpdateTest.php Check that field schema is correctly handled with long-named fields.
EntityDefinitionUpdateTest::testNewEntityType function core/tests/Drupal/KernelTests/Core/Entity/EntityDefinitionUpdateTest.php Tests that new entity type definitions are correctly handled.
EntityDefinitionUpdateTest::testNoUpdates function core/tests/Drupal/KernelTests/Core/Entity/EntityDefinitionUpdateTest.php Tests when no definition update is needed.
EntityDefinitionUpdateTest::testSingleActionCalls function core/tests/Drupal/KernelTests/Core/Entity/EntityDefinitionUpdateTest.php Tests applying single updates.
EntityDefinitionUpdateTest::testUninstallEntityTypeWithoutInCodeDefinition function core/tests/Drupal/KernelTests/Core/Entity/EntityDefinitionUpdateTest.php Tests uninstalling an entity type that doesn't exist in code anymore.
EntityDefinitionUpdateTest::testUpdateEntityTypeWithoutInCodeDefinition function core/tests/Drupal/KernelTests/Core/Entity/EntityDefinitionUpdateTest.php Tests updating an entity type that doesn't exist in code anymore.
EntityDefinitionUpdateTest::testUpdateFieldableEntityTypeWithoutInCodeDefinition function core/tests/Drupal/KernelTests/Core/Entity/EntityDefinitionUpdateTest.php Tests updating a fieldable entity type that doesn't exist in code anymore.

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