interface ConfigSyncSnapshotterInterface in Configuration Synchronizer 8
Same name and namespace in other branches
- 8.2 src/ConfigSyncSnapshotterInterface.php \Drupal\config_sync\ConfigSyncSnapshotterInterface
The ConfigSyncSnapshotter provides helper functions for taking snapshots of extension-provided configuration.
Hierarchy
- interface \Drupal\config_sync\ConfigSyncSnapshotterInterface
Expanded class hierarchy of ConfigSyncSnapshotterInterface
All classes that implement ConfigSyncSnapshotterInterface
1 file declares its use of ConfigSyncSnapshotterInterface
- ConfigSyncCommands.php in src/
Commands/ ConfigSyncCommands.php
File
- src/
ConfigSyncSnapshotterInterface.php, line 9
Namespace
Drupal\config_syncView source
interface ConfigSyncSnapshotterInterface {
/**
* Takes a snapshot of configuration from modules and themes.
*
* Only items not already in the snapshot storage are added.
*
* @param \Drupal\Core\Extension\Extension[] $extensions
* Optional list of extensions for which to refresh the snapshot. If
* omitted, the entire snapshot will be refreshed.
*/
public function refreshSnapshot(array $extensions = []);
/**
* Deletes all records from the snapshot.
*/
public function deleteSnapshot();
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
ConfigSyncSnapshotterInterface:: |
public | function | Deletes all records from the snapshot. | 1 |
ConfigSyncSnapshotterInterface:: |
public | function | Takes a snapshot of configuration from modules and themes. | 1 |