function CheckpointListInterface::delete
Same name in other branches
- 10 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.
1 method overrides CheckpointListInterface::delete()
- LinearHistory::delete in core/
lib/ Drupal/ Core/ Config/ Checkpoint/ LinearHistory.php - Deletes a checkpoint.
File
-
core/
lib/ Drupal/ Core/ Config/ Checkpoint/ CheckpointListInterface.php, line 79
Class
- CheckpointListInterface
- Maintains a list of checkpoints.
Namespace
Drupal\Core\Config\CheckpointCode
public function delete(string $id) : static;
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.