DynamicallyFieldableEntityStorageInterface

A storage that supports entity types with dynamic field definitions.

A storage 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/DynamicallyFieldableEntityStorageInterface.php, line 19

Namespace

Drupal\Core\Entity

Members

Name Modifiers Type Description
DynamicallyFieldableEntityStorageInterface::finalizePurge public function Performs final cleanup after all data of a field has been purged.
DynamicallyFieldableEntityStorageInterface::hasData public function Determines if the storage contains any data.
DynamicallyFieldableEntityStorageInterface::purgeFieldData public function Purges a batch of field data.
EntityStorageInterface::create public function Constructs a new entity object, without permanently saving it.
EntityStorageInterface::delete public function Deletes permanently saved entities.
EntityStorageInterface::deleteRevision public function Delete a specific entity revision.
EntityStorageInterface::FIELD_LOAD_CURRENT constant Load the most recent version of an entity's field data. Overrides EntityStorageInterface::FIELD_LOAD_CURRENT
EntityStorageInterface::FIELD_LOAD_REVISION constant Load the version of an entity's field data specified in the entity. Overrides EntityStorageInterface::FIELD_LOAD_REVISION
EntityStorageInterface::getAggregateQuery public function Gets an aggregated query instance.
EntityStorageInterface::getEntityType public function Gets the entity type definition.
EntityStorageInterface::getEntityTypeId public function Gets the entity type ID.
EntityStorageInterface::getQuery public function Gets an entity query instance.
EntityStorageInterface::load public function Loads one entity.
EntityStorageInterface::loadByProperties public function Load entities by their property values.
EntityStorageInterface::loadMultiple public function Loads one or more entities.
EntityStorageInterface::loadRevision public function Load a specific entity revision.
EntityStorageInterface::loadUnchanged public function Loads an unchanged entity from the database.
EntityStorageInterface::resetCache public function Resets the internal, static entity cache.
EntityStorageInterface::save public function Saves the entity permanently.
FieldableEntityStorageInterface::countFieldData public function Determines the number of entities with values for a given field.
FieldDefinitionListenerInterface::onFieldDefinitionCreate public function Reacts to the creation of a field.
FieldDefinitionListenerInterface::onFieldDefinitionDelete public function Reacts to the deletion of a field.
FieldDefinitionListenerInterface::onFieldDefinitionUpdate public function Reacts to the update of a field.
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.
doc_Drupal
2016-10-29 09:03:24
Comments
Leave a Comment

Please login to continue.