function CheckpointStorageInterface::checkpoint
Same name in other branches
- 10 core/lib/Drupal/Core/Config/Checkpoint/CheckpointStorageInterface.php \Drupal\Core\Config\Checkpoint\CheckpointStorageInterface::checkpoint()
Creates a checkpoint, if required, and returns the active checkpoint.
If the storage determines that the current active checkpoint would contain the same information, it does not have to create a new checkpoint.
Parameters
string|\Stringable $label: The checkpoint label to use if a new checkpoint is created.
Return value
\Drupal\Core\Config\Checkpoint\Checkpoint The currently active checkpoint.
1 method overrides CheckpointStorageInterface::checkpoint()
- CheckpointStorage::checkpoint in core/
lib/ Drupal/ Core/ Config/ Checkpoint/ CheckpointStorage.php - Creates a checkpoint, if required, and returns the active checkpoint.
File
-
core/
lib/ Drupal/ Core/ Config/ Checkpoint/ CheckpointStorageInterface.php, line 29
Class
- CheckpointStorageInterface
- Provides an interface for checkpoint storages.
Namespace
Drupal\Core\Config\CheckpointCode
public function checkpoint(string|\Stringable $label) : Checkpoint;
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.