EntityStorageInterface::deleteRevision

public EntityStorageInterface::deleteRevision($revision_id)

Delete 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.

File

core/lib/Drupal/Core/Entity/EntityStorageInterface.php, line 93

Class

EntityStorageInterface
Defines the interface for entity storage classes.

Namespace

Drupal\Core\Entity

Code

public function deleteRevision($revision_id);
doc_Drupal
2016-10-29 09:07:43
Comments
Leave a Comment

Please login to continue.