You are here

public function RevisionableStorageInterface::deleteRevision in Drupal 9

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/Entity/RevisionableStorageInterface.php \Drupal\Core\Entity\RevisionableStorageInterface::deleteRevision()

Deletes a specific entity revision.

A revision can only be deleted if it's not the currently active one.

Parameters

int $revision_id: The revision ID.

Overrides EntityStorageInterface::deleteRevision

File

core/lib/Drupal/Core/Entity/RevisionableStorageInterface.php, line 55

Class

RevisionableStorageInterface
A storage that supports revisionable entity types.

Namespace

Drupal\Core\Entity

Code

public function deleteRevision($revision_id);