function LinearHistory::get
Same name in other branches
- 10 core/lib/Drupal/Core/Config/Checkpoint/LinearHistory.php \Drupal\Core\Config\Checkpoint\LinearHistory::get()
Overrides CheckpointListInterface::get
1 call to LinearHistory::get()
- LinearHistory::getParents in core/
lib/ Drupal/ Core/ Config/ Checkpoint/ LinearHistory.php - Gets a checkpoint's parents.
File
-
core/
lib/ Drupal/ Core/ Config/ Checkpoint/ LinearHistory.php, line 65
Class
- LinearHistory
- A chronological list of Checkpoint objects.
Namespace
Drupal\Core\Config\CheckpointCode
public function get(string $id) : Checkpoint {
if (!isset($this->checkpoints[$id])) {
throw new UnknownCheckpointException(sprintf('The checkpoint "%s" does not exist', $id));
}
return $this->checkpoints[$id];
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.