public function ConfigSnapshotSubscriber::onConfigImporterImport
public ConfigSnapshotSubscriber::onConfigImporterImport(ConfigImporterEvent $event)
Creates a config snapshot.
Parameters
\Drupal\Core\Config\ConfigImporterEvent $event: The Event to process.
File
- core/lib/Drupal/Core/EventSubscriber/ConfigSnapshotSubscriber.php, line 57
Class
- ConfigSnapshotSubscriber
- Create a snapshot when config is imported.
Namespace
Drupal\Core\EventSubscriberCode
public function onConfigImporterImport(ConfigImporterEvent $event) { $this->configManager->createSnapshot($this->sourceStorage, $this->snapshotStorage); }
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!EventSubscriber!ConfigSnapshotSubscriber.php/function/ConfigSnapshotSubscriber::onConfigImporterImport/8.1.x