interface DynamicallyFieldableEntityStorageSchemaInterface

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

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.

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Entity!Schema!DynamicallyFieldableEntityStorageSchemaInterface.php/interface/DynamicallyFieldableEntityStorageSchemaInterface/8.1.x