You are here

public function ConfigEntityStorage::deleteRevision in Drupal 10

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

Delete a specific entity revision.

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

@todo Deprecated in Drupal 8.5.0 and will be removed before Drupal 9.0.0. Use \Drupal\Core\Entity\RevisionableStorageInterface instead.

Parameters

int $revision_id: The revision id.

Overrides EntityStorageInterface::deleteRevision

See also

https://www.drupal.org/node/2926958

https://www.drupal.org/node/2927226

File

core/lib/Drupal/Core/Config/Entity/ConfigEntityStorage.php, line 131

Class

ConfigEntityStorage
Defines the storage class for configuration entities.

Namespace

Drupal\Core\Config\Entity

Code

public function deleteRevision($revision_id) {
  return NULL;
}