function ConfigManagerInterface::createSnapshot

Same name in other branches
  1. 8.9.x core/lib/Drupal/Core/Config/ConfigManagerInterface.php \Drupal\Core\Config\ConfigManagerInterface::createSnapshot()
  2. 10 core/lib/Drupal/Core/Config/ConfigManagerInterface.php \Drupal\Core\Config\ConfigManagerInterface::createSnapshot()
  3. 11.x core/lib/Drupal/Core/Config/ConfigManagerInterface.php \Drupal\Core\Config\ConfigManagerInterface::createSnapshot()

Creates a configuration snapshot following a successful import.

Parameters

\Drupal\Core\Config\StorageInterface $source_storage: The storage to synchronize configuration from.

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

1 method overrides ConfigManagerInterface::createSnapshot()
ConfigManager::createSnapshot in core/lib/Drupal/Core/Config/ConfigManager.php
Creates a configuration snapshot following a successful import.

File

core/lib/Drupal/Core/Config/ConfigManagerInterface.php, line 81

Class

ConfigManagerInterface
Provides an interface for configuration manager.

Namespace

Drupal\Core\Config

Code

public function createSnapshot(StorageInterface $source_storage, StorageInterface $snapshot_storage);

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.