class Checkpoint

Same name in other branches
  1. 11.x core/lib/Drupal/Core/Config/Checkpoint/Checkpoint.php \Drupal\Core\Config\Checkpoint\Checkpoint

A value object to store information about a checkpoint.

@internal This API is experimental.

Hierarchy

Expanded class hierarchy of Checkpoint

6 files declare their use of Checkpoint
CheckpointStorageTest.php in core/tests/Drupal/Tests/Core/Config/Checkpoint/CheckpointStorageTest.php
LinearHistoryTest.php in core/tests/Drupal/Tests/Core/Config/Checkpoint/LinearHistoryTest.php
RecipeCommand.php in core/lib/Drupal/Core/Recipe/RecipeCommand.php
RecipeCommandTest.php in core/tests/Drupal/FunctionalTests/Core/Recipe/RecipeCommandTest.php
RollbackTest.php in core/tests/Drupal/KernelTests/Core/Recipe/RollbackTest.php

... See full list

File

core/lib/Drupal/Core/Config/Checkpoint/Checkpoint.php, line 13

Namespace

Drupal\Core\Config\Checkpoint
View source
final class Checkpoint {
    
    /**
     * Constructs a checkpoint object.
     *
     * @param string $id
     *   The checkpoint's ID.
     * @param \Stringable|string $label
     *   The human-readable label.
     * @param int $timestamp
     *   The timestamp when the checkpoint was created.
     * @param string|null $parent
     *   The ID of the checkpoint's parent.
     */
    public function __construct(string $id, \Stringable|string $label, int $timestamp, ?string $parent) {
    }

}

Members

Title Sort descending Modifiers Object type Summary
Checkpoint::__construct public function Constructs a checkpoint object.

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