function CheckpointStorage::__construct

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

Constructs a CheckpointStorage object.

Parameters

\Drupal\Core\Config\StorageInterface $activeStorage: The active configuration storage.

\Drupal\Core\Config\Checkpoint\CheckpointListInterface $checkpoints: The list of checkpoints.

\Drupal\Core\KeyValueStore\KeyValueFactoryInterface $keyValueFactory: The key value factory.

string $collection: (optional) The configuration collection.

File

core/lib/Drupal/Core/Config/Checkpoint/CheckpointStorage.php, line 82

Class

CheckpointStorage
Provides a config storage that can make checkpoints.

Namespace

Drupal\Core\Config\Checkpoint

Code

public function __construct(StorageInterface $activeStorage, CheckpointListInterface $checkpoints, KeyValueFactoryInterface $keyValueFactory, string $collection = StorageInterface::DEFAULT_COLLECTION) {
}

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