function LinearHistory::deleteAll
Same name in other branches
- 11.x core/lib/Drupal/Core/Config/Checkpoint/LinearHistory.php \Drupal\Core\Config\Checkpoint\LinearHistory::deleteAll()
File
-
core/
lib/ Drupal/ Core/ Config/ Checkpoint/ LinearHistory.php, line 137
Class
- LinearHistory
- A chronological list of Checkpoint objects.
Namespace
Drupal\Core\Config\CheckpointCode
public function deleteAll() : static {
$this->checkpoints = [];
$this->activeCheckpoint = NULL;
$this->state
->delete(self::CHECKPOINT_KEY);
return $this;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.