function CheckpointListInterface::delete

Same name in other branches
  1. 11.x core/lib/Drupal/Core/Config/Checkpoint/CheckpointListInterface.php \Drupal\Core\Config\Checkpoint\CheckpointListInterface::delete()

Deletes a checkpoint.

Parameters

string $id: The ID of the checkpoint to delete up to: only checkpoints after this one will remain.

Return value

$this

Throws

\Drupal\Core\Config\Checkpoint\UnknownCheckpointException Thrown when provided checkpoint ID does not exist.

File

core/lib/Drupal/Core/Config/Checkpoint/CheckpointListInterface.php, line 79

Class

CheckpointListInterface
Maintains a list of checkpoints.

Namespace

Drupal\Core\Config\Checkpoint

Code

public function delete(string $id) : static;

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