function CheckpointListInterface::getActiveCheckpoint

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

Gets the active checkpoint.

Return value

\Drupal\Core\Config\Checkpoint\Checkpoint|null The active checkpoint or NULL if there are no checkpoints.

1 method overrides CheckpointListInterface::getActiveCheckpoint()
LinearHistory::getActiveCheckpoint in core/lib/Drupal/Core/Config/Checkpoint/LinearHistory.php
Gets the active checkpoint.

File

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

Class

CheckpointListInterface
Maintains a list of checkpoints.

Namespace

Drupal\Core\Config\Checkpoint

Code

public function getActiveCheckpoint() : ?Checkpoint;

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