function ContentEntityStorageBase::doDeleteRevisionFieldItems

Same name in other branches
  1. 8.9.x core/lib/Drupal/Core/Entity/ContentEntityStorageBase.php \Drupal\Core\Entity\ContentEntityStorageBase::doDeleteRevisionFieldItems()
  2. 10 core/lib/Drupal/Core/Entity/ContentEntityStorageBase.php \Drupal\Core\Entity\ContentEntityStorageBase::doDeleteRevisionFieldItems()
  3. 11.x core/lib/Drupal/Core/Entity/ContentEntityStorageBase.php \Drupal\Core\Entity\ContentEntityStorageBase::doDeleteRevisionFieldItems()

Deletes field values of an entity revision from the storage.

Parameters

\Drupal\Core\Entity\ContentEntityInterface $revision: An entity revision object to be deleted.

1 call to ContentEntityStorageBase::doDeleteRevisionFieldItems()
ContentEntityStorageBase::deleteRevision in core/lib/Drupal/Core/Entity/ContentEntityStorageBase.php
Delete a specific entity revision.
2 methods override ContentEntityStorageBase::doDeleteRevisionFieldItems()
ContentEntityNullStorage::doDeleteRevisionFieldItems in core/lib/Drupal/Core/Entity/ContentEntityNullStorage.php
Deletes field values of an entity revision from the storage.
SqlContentEntityStorage::doDeleteRevisionFieldItems in core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorage.php
Deletes field values of an entity revision from the storage.

File

core/lib/Drupal/Core/Entity/ContentEntityStorageBase.php, line 831

Class

ContentEntityStorageBase
Base class for content entity storage handlers.

Namespace

Drupal\Core\Entity

Code

protected abstract function doDeleteRevisionFieldItems(ContentEntityInterface $revision);

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.