A storage schema that supports entity types with dynamic field definitions.
A storage schema that implements this interface can react to the entity type's field definitions changing, due to modules being installed or uninstalled, or via field UI, or via code changes to the entity class.
For example, configurable fields defined and exposed by field.module.
Hierarchy
- interface \Drupal\Core\Entity\Schema\EntityStorageSchemaInterface; interface \Drupal\Core\Field\FieldStorageDefinitionListenerInterface
- interface \Drupal\Core\Entity\Schema\DynamicallyFieldableEntityStorageSchemaInterface
File
- core/lib/Drupal/Core/Entity/Schema/DynamicallyFieldableEntityStorageSchemaInterface.php, line 17
Namespace
Drupal\Core\Entity\Schema
Members
Name | Modifiers | Type | Description |
---|---|---|---|
DynamicallyFieldableEntityStorageSchemaInterface::finalizePurge | public | function | Performs final cleanup after all data of a field has been purged. |
DynamicallyFieldableEntityStorageSchemaInterface::requiresFieldDataMigration | public | function | Checks if existing data would be lost if the schema changes were applied. |
DynamicallyFieldableEntityStorageSchemaInterface::requiresFieldStorageSchemaChanges | public | function | Checks if the changes to the storage definition requires schema changes. |
EntityStorageSchemaInterface::requiresEntityDataMigration | public | function | Checks if existing data would be lost if the schema changes were applied. |
EntityStorageSchemaInterface::requiresEntityStorageSchemaChanges | public | function | Checks if the changes to the entity type requires storage schema changes. |
EntityTypeListenerInterface::onEntityTypeCreate | public | function | Reacts to the creation of the entity type. |
EntityTypeListenerInterface::onEntityTypeDelete | public | function | Reacts to the deletion of the entity type. |
EntityTypeListenerInterface::onEntityTypeUpdate | public | function | Reacts to the update of the entity type. |
FieldStorageDefinitionListenerInterface::onFieldStorageDefinitionCreate | public | function | Reacts to the creation of a field storage definition. |
FieldStorageDefinitionListenerInterface::onFieldStorageDefinitionDelete | public | function | Reacts to the deletion of a field storage definition. |
FieldStorageDefinitionListenerInterface::onFieldStorageDefinitionUpdate | public | function | Reacts to the update of a field storage definition. |
Please login to continue.