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. |
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. |
EntityDefinitionUpdateManager::installEntityType |
function |
core/lib/Drupal/Core/Entity/EntityDefinitionUpdateManager.php |
Installs a new entity type definition. |
EntityDefinitionUpdateManager::installFieldableEntityType |
function |
core/lib/Drupal/Core/Entity/EntityDefinitionUpdateManager.php |
Installs a new fieldable entity type definition. |
EntityDefinitionUpdateManager::installFieldStorageDefinition |
function |
core/lib/Drupal/Core/Entity/EntityDefinitionUpdateManager.php |
Installs a new field storage definition. |
EntityDefinitionUpdateManager::needsUpdates |
function |
core/lib/Drupal/Core/Entity/EntityDefinitionUpdateManager.php |
Checks if there are any definition updates that need to be applied. |
EntityDefinitionUpdateManager::requiresEntityDataMigration |
function |
core/lib/Drupal/Core/Entity/EntityDefinitionUpdateManager.php |
Checks if existing data would be lost if the schema changes were applied. |
EntityDefinitionUpdateManager::requiresEntityStorageSchemaChanges |
function |
core/lib/Drupal/Core/Entity/EntityDefinitionUpdateManager.php |
Checks if the changes to the entity type requires storage schema changes. |
EntityDefinitionUpdateManager::requiresFieldStorageSchemaChanges |
function |
core/lib/Drupal/Core/Entity/EntityDefinitionUpdateManager.php |
Checks if the changes to the storage definition requires schema changes. |
EntityDefinitionUpdateManager::uninstallEntityType |
function |
core/lib/Drupal/Core/Entity/EntityDefinitionUpdateManager.php |
Uninstalls an entity type definition. |
EntityDefinitionUpdateManager::uninstallFieldStorageDefinition |
function |
core/lib/Drupal/Core/Entity/EntityDefinitionUpdateManager.php |
Uninstalls a field storage definition. |
EntityDefinitionUpdateManager::updateEntityType |
function |
core/lib/Drupal/Core/Entity/EntityDefinitionUpdateManager.php |
Applies any change performed to the passed entity type definition. |
EntityDefinitionUpdateManager::updateFieldableEntityType |
function |
core/lib/Drupal/Core/Entity/EntityDefinitionUpdateManager.php |
Applies any change performed to a fieldable entity type definition. |
EntityDefinitionUpdateManager::updateFieldStorageDefinition |
function |
core/lib/Drupal/Core/Entity/EntityDefinitionUpdateManager.php |
Applies any change performed to the passed field storage definition. |
EntityDefinitionUpdateManager::__construct |
function |
core/lib/Drupal/Core/Entity/EntityDefinitionUpdateManager.php |
Constructs a new EntityDefinitionUpdateManager. |
EntityDefinitionUpdateManagerInterface |
interface |
core/lib/Drupal/Core/Entity/EntityDefinitionUpdateManagerInterface.php |
Defines an interface for managing entity definition updates. |
EntityDefinitionUpdateManagerInterface.php |
file |
core/lib/Drupal/Core/Entity/EntityDefinitionUpdateManagerInterface.php |
|
EntityDefinitionUpdateManagerInterface::DEFINITION_CREATED |
constant |
core/lib/Drupal/Core/Entity/EntityDefinitionUpdateManagerInterface.php |
Indicates that a definition has just been created. |
EntityDefinitionUpdateManagerInterface::DEFINITION_DELETED |
constant |
core/lib/Drupal/Core/Entity/EntityDefinitionUpdateManagerInterface.php |
Indicates that a definition has just been deleted. |
EntityDefinitionUpdateManagerInterface::DEFINITION_UPDATED |
constant |
core/lib/Drupal/Core/Entity/EntityDefinitionUpdateManagerInterface.php |
Indicates that a definition has changes. |
EntityDefinitionUpdateManagerInterface::getChangeList |
function |
core/lib/Drupal/Core/Entity/EntityDefinitionUpdateManagerInterface.php |
Gets a list of changes to entity type and field storage definitions. |
EntityDefinitionUpdateManagerInterface::getChangeSummary |
function |
core/lib/Drupal/Core/Entity/EntityDefinitionUpdateManagerInterface.php |
Gets a human readable summary of the detected changes. |
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. |