function CheckpointListInterface::get

Same name in other branches
  1. 10 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.

1 method overrides CheckpointListInterface::get()
LinearHistory::get in core/lib/Drupal/Core/Config/Checkpoint/LinearHistory.php

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.