EntityDefinitionUpdateManagerInterface::getEntityType |
function |
core/lib/Drupal/Core/Entity/EntityDefinitionUpdateManagerInterface.php |
Returns an entity type definition ready to be manipulated. |
EntityDefinitionUpdateManagerInterface::getEntityTypes |
function |
core/lib/Drupal/Core/Entity/EntityDefinitionUpdateManagerInterface.php |
Returns all the entity type definitions, ready to be manipulated. |
EntityDefinitionUpdateManagerInterface::getFieldStorageDefinition |
function |
core/lib/Drupal/Core/Entity/EntityDefinitionUpdateManagerInterface.php |
Returns a field storage definition ready to be manipulated. |
EntityDefinitionUpdateManagerInterface::installEntityType |
function |
core/lib/Drupal/Core/Entity/EntityDefinitionUpdateManagerInterface.php |
Installs a new entity type definition. |
EntityDefinitionUpdateManagerInterface::installFieldableEntityType |
function |
core/lib/Drupal/Core/Entity/EntityDefinitionUpdateManagerInterface.php |
Installs a new fieldable entity type definition. |
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. |
EntityDefinitionUpdateMultipleTypesTest |
class |
core/tests/Drupal/KernelTests/Core/Entity/EntityDefinitionUpdateMultipleTypesTest.php |
Tests EntityDefinitionUpdateManager functionality. |
EntityDefinitionUpdateMultipleTypesTest.php |
file |
core/tests/Drupal/KernelTests/Core/Entity/EntityDefinitionUpdateMultipleTypesTest.php |
|
EntityDefinitionUpdateMultipleTypesTest::$database |
property |
core/tests/Drupal/KernelTests/Core/Entity/EntityDefinitionUpdateMultipleTypesTest.php |
The database connection. |
EntityDefinitionUpdateMultipleTypesTest::$entityDefinitionUpdateManager |
property |
core/tests/Drupal/KernelTests/Core/Entity/EntityDefinitionUpdateMultipleTypesTest.php |
The entity definition update manager. |
EntityDefinitionUpdateMultipleTypesTest::$entityFieldManager |
property |
core/tests/Drupal/KernelTests/Core/Entity/EntityDefinitionUpdateMultipleTypesTest.php |
The entity field manager. |
EntityDefinitionUpdateMultipleTypesTest::$modules |
property |
core/tests/Drupal/KernelTests/Core/Entity/EntityDefinitionUpdateMultipleTypesTest.php |
Modules to install. |
EntityDefinitionUpdateMultipleTypesTest::setUp |
function |
core/tests/Drupal/KernelTests/Core/Entity/EntityDefinitionUpdateMultipleTypesTest.php |
|
EntityDefinitionUpdateMultipleTypesTest::testBaseFieldCreateDeleteWithExistingEntities |
function |
core/tests/Drupal/KernelTests/Core/Entity/EntityDefinitionUpdateMultipleTypesTest.php |
Tests creating and deleting a base field if entities exist. |
EntityDefinitionUpdateMultipleTypesTest::testBaseFieldCreateUpdateDeleteWithoutData |
function |
core/tests/Drupal/KernelTests/Core/Entity/EntityDefinitionUpdateMultipleTypesTest.php |
Tests creating, updating, and deleting a base field if no entities exist. |
EntityDefinitionUpdateMultipleTypesTest::testBaseFieldEntityKeyUpdateWithExistingData |
function |
core/tests/Drupal/KernelTests/Core/Entity/EntityDefinitionUpdateMultipleTypesTest.php |
Tests updating a base field when it has existing data. |
EntityDefinitionUpdateMultipleTypesTest::testBaseFieldUpdateWithExistingData |
function |
core/tests/Drupal/KernelTests/Core/Entity/EntityDefinitionUpdateMultipleTypesTest.php |
Tests updating a base field when it has existing data. |
EntityDefinitionUpdateMultipleTypesTest::testBaseFieldWithoutLabelCreateUpdateDelete |
function |
core/tests/Drupal/KernelTests/Core/Entity/EntityDefinitionUpdateMultipleTypesTest.php |
Tests creating, updating, and deleting a base field with no label set. |
EntityDefinitionUpdateMultipleTypesTest::testBundleFieldCreateDeleteWithExistingEntities |
function |
core/tests/Drupal/KernelTests/Core/Entity/EntityDefinitionUpdateMultipleTypesTest.php |
Tests creating and deleting a bundle field if entities exist. |
EntityDefinitionUpdateMultipleTypesTest::testBundleFieldCreateUpdateDeleteWithoutData |
function |
core/tests/Drupal/KernelTests/Core/Entity/EntityDefinitionUpdateMultipleTypesTest.php |
Tests creating, updating, and deleting a bundle field if no entities exist. |
EntityDefinitionUpdateMultipleTypesTest::testBundleFieldDeleteWithExistingData |
function |
core/tests/Drupal/KernelTests/Core/Entity/EntityDefinitionUpdateMultipleTypesTest.php |
Tests deleting a bundle field when it has existing data. |
EntityDefinitionUpdateMultipleTypesTest::testBundleFieldUpdateWithEntityTypeSchemaUpdate |
function |
core/tests/Drupal/KernelTests/Core/Entity/EntityDefinitionUpdateMultipleTypesTest.php |
Tests updating a bundle field when the entity type schema has changed. |
EntityDefinitionUpdateMultipleTypesTest::testBundleFieldUpdateWithExistingData |
function |
core/tests/Drupal/KernelTests/Core/Entity/EntityDefinitionUpdateMultipleTypesTest.php |
Tests updating a bundle field when it has existing data. |
EntityDefinitionUpdateMultipleTypesTest::testCreateFieldAndIndexOnSharedTable |
function |
core/tests/Drupal/KernelTests/Core/Entity/EntityDefinitionUpdateMultipleTypesTest.php |
Ensures that a new field and index on a shared table are created. |
EntityDefinitionUpdateMultipleTypesTest::testCreateIndexUsingEntityStorageSchemaWithData |
function |
core/tests/Drupal/KernelTests/Core/Entity/EntityDefinitionUpdateMultipleTypesTest.php |
Ensures that a new entity level index is created when data exists. |
EntityDefinitionUpdateMultipleTypesTest::testDefinitionEvents |
function |
core/tests/Drupal/KernelTests/Core/Entity/EntityDefinitionUpdateMultipleTypesTest.php |
Tests entity type and field storage definition events. |
EntityDefinitionUpdateMultipleTypesTest::testEntityIndexCreateDeleteWithoutData |
function |
core/tests/Drupal/KernelTests/Core/Entity/EntityDefinitionUpdateMultipleTypesTest.php |
Tests creating and deleting a multi-field index when there are no existing entities. |
EntityDefinitionUpdateMultipleTypesTest::testEntityIndexCreateWithData |
function |
core/tests/Drupal/KernelTests/Core/Entity/EntityDefinitionUpdateMultipleTypesTest.php |
Tests creating a multi-field index when there are existing entities. |
EntityDefinitionUpdateMultipleTypesTest::testEntityTypeUpdateWithEntityStorageChange |
function |
core/tests/Drupal/KernelTests/Core/Entity/EntityDefinitionUpdateMultipleTypesTest.php |
Tests updating entity schema when there are entity storage changes. |
EntityDefinitionUpdateMultipleTypesTest::testEntityTypeUpdateWithoutData |
function |
core/tests/Drupal/KernelTests/Core/Entity/EntityDefinitionUpdateMultipleTypesTest.php |
Tests updating entity schema when there are no existing entities. |
EntityDefinitionUpdateMultipleTypesTest::testInitialValue |
function |
core/tests/Drupal/KernelTests/Core/Entity/EntityDefinitionUpdateMultipleTypesTest.php |
Tests adding a base field with initial values. |
EntityDefinitionUpdateMultipleTypesTest::testInitialValueFromFieldErrorHandling |
function |
core/tests/Drupal/KernelTests/Core/Entity/EntityDefinitionUpdateMultipleTypesTest.php |
Tests the error handling when using initial values from another field. |
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::testLongNameFieldIndexes |
function |
core/tests/Drupal/KernelTests/Core/Entity/EntityDefinitionUpdateMultipleTypesTest.php |
Check that field schema is correctly handled with long-named fields. |
EntityDefinitionUpdateMultipleTypesTest::testNoUpdates |
function |
core/tests/Drupal/KernelTests/Core/Entity/EntityDefinitionUpdateMultipleTypesTest.php |
Tests when no definition update is needed. |
EntityDefinitionUpdateMultipleTypesTest::testSingleActionCalls |
function |
core/tests/Drupal/KernelTests/Core/Entity/EntityDefinitionUpdateMultipleTypesTest.php |
Tests applying single updates. |
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. |
EntityDefinitionUpdateProviderTest |
class |
core/tests/Drupal/KernelTests/Core/Entity/EntityDefinitionUpdateProviderTest.php |
Tests EntityDefinitionUpdateManager functionality. |
EntityDefinitionUpdateProviderTest.php |
file |
core/tests/Drupal/KernelTests/Core/Entity/EntityDefinitionUpdateProviderTest.php |
|
EntityDefinitionUpdateProviderTest::$database |
property |
core/tests/Drupal/KernelTests/Core/Entity/EntityDefinitionUpdateProviderTest.php |
The database connection. |
EntityDefinitionUpdateProviderTest::$entityDefinitionUpdateManager |
property |
core/tests/Drupal/KernelTests/Core/Entity/EntityDefinitionUpdateProviderTest.php |
The entity definition update manager. |