SqlContentEntityStorage::doLoadRevisionFieldItems

protected SqlContentEntityStorage::doLoadRevisionFieldItems($revision_id) Actually loads revision field item values from the storage. Parameters int|string $revision_id: The revision identifier. Return value \Drupal\Core\Entity\EntityInterface|null The specified entity revision or NULL if not found. Overrides ContentEntityStorageBase::doLoadRevisionFieldItems File core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorage.php, line 583 Class SqlContentEntityStorage A content entity database

SqlContentEntityStorage::doLoadMultiple

protected SqlContentEntityStorage::doLoadMultiple(array $ids = NULL) Performs storage-specific loading of entities. Override this method to add custom functionality directly after loading. This is always called, while self::postLoad() is only called when there are actual results. Parameters array|null $ids: (optional) An array of entity IDs, or NULL to load all entities. Return value \Drupal\Core\Entity\EntityInterface[] Associative array of entities, keyed on the entity ID. Overrides EntityS

SqlContentEntityStorage::doDeleteRevisionFieldItems

protected SqlContentEntityStorage::doDeleteRevisionFieldItems(ContentEntityInterface $revision) Deletes field values of an entity revision from the storage. Parameters \Drupal\Core\Entity\ContentEntityInterface $revision: An entity revision object to be deleted. Overrides ContentEntityStorageBase::doDeleteRevisionFieldItems File core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorage.php, line 602 Class SqlContentEntityStorage A content entity database storage implementation. Namespace

SqlContentEntityStorage::finalizePurge

public SqlContentEntityStorage::finalizePurge(FieldStorageDefinitionInterface $storage_definition) Performs final cleanup after all data of a field has been purged. Parameters \Drupal\Core\Field\FieldStorageDefinitionInterface $storage_definition: The field being purged. Overrides ContentEntityStorageBase::finalizePurge File core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorage.php, line 1598 Class SqlContentEntityStorage A content entity database storage implementation. Namespace Dr

SqlContentEntityStorage::doSaveFieldItems

protected SqlContentEntityStorage::doSaveFieldItems(ContentEntityInterface $entity, array $names = []) Writes entity field values to the storage. This method is responsible for allocating entity and revision identifiers and updating the entity object with their values. Parameters \Drupal\Core\Entity\ContentEntityInterface $entity: The entity object. string[] $names: (optional) The name of the fields to be written to the storage. If an empty value is passed all field values are saved. Overrides

SqlContentEntityStorage::delete

public SqlContentEntityStorage::delete(array $entities) Deletes permanently saved entities. Parameters array $entities: An array of entity objects to delete. Throws \Drupal\Core\Entity\EntityStorageException In case of failures, an exception is thrown. Overrides EntityStorageBase::delete File core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorage.php, line 702 Class SqlContentEntityStorage A content entity database storage implementation. Namespace Drupal\Core\Entity\Sql Code public

SqlContentEntityStorage::deleteFromDedicatedTables

protected SqlContentEntityStorage::deleteFromDedicatedTables(ContentEntityInterface $entity) Deletes values of fields in dedicated tables for all revisions. Parameters \Drupal\Core\Entity\ContentEntityInterface $entity: The entity. File core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorage.php, line 1293 Class SqlContentEntityStorage A content entity database storage implementation. Namespace Drupal\Core\Entity\Sql Code protected function deleteFromDedicatedTables(ContentEntityInter

SqlContentEntityStorage::doDeleteFieldItems

protected SqlContentEntityStorage::doDeleteFieldItems($entities) Deletes entity field values from the storage. Parameters \Drupal\Core\Entity\ContentEntityInterface[] $entities: An array of entity objects to be deleted. Overrides ContentEntityStorageBase::doDeleteFieldItems File core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorage.php, line 725 Class SqlContentEntityStorage A content entity database storage implementation. Namespace Drupal\Core\Entity\Sql Code protected function do

SqlContentEntityStorage::deleteRevisionFromDedicatedTables

protected SqlContentEntityStorage::deleteRevisionFromDedicatedTables(ContentEntityInterface $entity) Deletes values of fields in dedicated tables for all revisions. Parameters \Drupal\Core\Entity\ContentEntityInterface $entity: The entity. It must have a revision ID. File core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorage.php, line 1319 Class SqlContentEntityStorage A content entity database storage implementation. Namespace Drupal\Core\Entity\Sql Code protected function deleteRe

SqlContentEntityStorage::createInstance

public static SqlContentEntityStorage::createInstance(ContainerInterface $container, EntityTypeInterface $entity_type) Instantiates a new instance of this entity handler. This is a factory method that returns a new instance of this object. The factory should pass any needed dependencies into the constructor of this object, but not the container itself. Every call to this method must return a new instance of this object; that is, it may not implement a singleton. Parameters \Symfony\Component\D