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_syncCode
public function deleteSnapshot() {
// Do not delete values from ::snapshotActiveStorage because they represent
// the item as originally installed.
$this->snapshotExtensionStorage
->deleteAll();
}