You are here

public function SyncConfigProviderInterface::alterConfigSnapshot in Configuration Synchronizer 8.2

Alters a configuration snapshot.

Not intended to be called an install time, this method instead facilitates determining what configuration updates are available.

Implementing plugins should write configuration as appropriate to the $snapshot_storage storage.

Parameters

\Drupal\Core\Config\StorageInterface $snapshot_storage: The snapshot configuration storage.

\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.

See also

\Drupal\config_provider\Plugin\ConfigProviderInterface\addInstallableConfig()

File

src/Plugin/SyncConfigProviderInterface.php, line 30

Class

SyncConfigProviderInterface
Class for invoking configuration providers for snapshotting.

Namespace

Drupal\config_sync\Plugin

Code

public function alterConfigSnapshot(StorageInterface $snapshot_storage, array $extensions = []);