public function ContentEntityNullStorage::deleteRevision

public ContentEntityNullStorage::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.

Overrides ContentEntityStorageBase::deleteRevision

File

core/lib/Drupal/Core/Entity/ContentEntityNullStorage.php, line 44

Class

ContentEntityNullStorage
Defines a null entity storage.

Namespace

Drupal\Core\Entity

Code

public function deleteRevision($revision_id) {
}

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Entity!ContentEntityNullStorage.php/function/ContentEntityNullStorage::deleteRevision/8.1.x