You are here

public function ConfigSyncSnapshotterInterface::refreshSnapshot in Configuration Synchronizer 8

Takes a snapshot of configuration from modules and themes.

Only items not already in the snapshot storage are added.

Parameters

\Drupal\Core\Extension\Extension[] $extensions: Optional list of extensions for which to refresh the snapshot. If omitted, the entire snapshot will be refreshed.

1 method overrides ConfigSyncSnapshotterInterface::refreshSnapshot()
ConfigSyncSnapshotter::refreshSnapshot in src/ConfigSyncSnapshotter.php
Takes a snapshot of configuration from modules and themes.

File

src/ConfigSyncSnapshotterInterface.php, line 20

Class

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

Namespace

Drupal\config_sync

Code

public function refreshSnapshot(array $extensions = []);