You are here

public function ConfigSyncSnapshotter::deleteSnapshot in Configuration Synchronizer 8

Deletes all records from the snapshot.

Overrides ConfigSyncSnapshotterInterface::deleteSnapshot

File

src/ConfigSyncSnapshotter.php, line 97

Class

ConfigSyncSnapshotter
The ConfigSyncSnapshotter provides helper functions for taking snapshots of extension-provided configuration.

Namespace

Drupal\config_sync

Code

public function deleteSnapshot() {

  // Do not delete values from ::snapshotActiveStorage because they represent
  // the item as originally installed.
  $this->snapshotExtensionStorage
    ->deleteAll();
}