You are here

public function SyncConfigCollectorInterface::alterConfigSnapshots in Configuration Synchronizer 8.2

Alters configuration snapshots.

In certain cases, the configuration suitable for snapshotting will differ from that suitable for comparing to a snapshot. The snapshot should reflect the current installed state. If alters are in effect, the snapshot should be updated accordingly as a new module is installed or updated.

Parameters

\Drupal\Core\Extension\Extension[] $extensions: (Optional) An associative array of Extension objects, keyed by extension name. If provided, data loaded will be limited to these extensions.

1 method overrides SyncConfigCollectorInterface::alterConfigSnapshots()
SyncConfigCollector::alterConfigSnapshots in src/Plugin/SyncConfigCollector.php
Alters configuration snapshots.

File

src/Plugin/SyncConfigCollectorInterface.php, line 37

Class

SyncConfigCollectorInterface
Class for invoking configuration providers.

Namespace

Drupal\config_sync\Plugin

Code

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