function CheckpointListInterface::get

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

Gets a checkpoint.

Parameters

string $id: The checkpoint ID.

Return value

\Drupal\Core\Config\Checkpoint\Checkpoint The checkpoint.

Throws

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

File

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

Class

CheckpointListInterface
Maintains a list of checkpoints.

Namespace

Drupal\Core\Config\Checkpoint

Code

public function get(string $id) : Checkpoint;

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