You are here

public function SyncConfigCollectorInterface::addConfigForSnapshotting in Configuration Synchronizer 8.2

Adds configuration for snapshotting.

Call this method instead of ::addInstallableConfig() to add only unaltered configuration.

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::addConfigForSnapshotting()
SyncConfigCollector::addConfigForSnapshotting in src/Plugin/SyncConfigCollector.php
Adds configuration for snapshotting.

File

src/Plugin/SyncConfigCollectorInterface.php, line 22

Class

SyncConfigCollectorInterface
Class for invoking configuration providers.

Namespace

Drupal\config_sync\Plugin

Code

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