You are here

interface ConfigSyncSnapshotterInterface in Configuration Synchronizer 8

Same name and namespace in other branches
  1. 8.2 src/ConfigSyncSnapshotterInterface.php \Drupal\config_sync\ConfigSyncSnapshotterInterface

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

Hierarchy

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_sync
View 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

Namesort descending Modifiers Type Description Overrides
ConfigSyncSnapshotterInterface::deleteSnapshot public function Deletes all records from the snapshot. 1
ConfigSyncSnapshotterInterface::refreshSnapshot public function Takes a snapshot of configuration from modules and themes. 1