Create a snapshot when config is imported.
Hierarchy
- class \Drupal\Core\EventSubscriber\ConfigSnapshotSubscriber implements EventSubscriberInterface
File
- core/lib/Drupal/Core/EventSubscriber/ConfigSnapshotSubscriber.php, line 14
Namespace
Drupal\Core\EventSubscriber
Members
Name | Modifiers | Type | Description |
---|---|---|---|
ConfigSnapshotSubscriber::$configManager | protected | property | The configuration manager. |
ConfigSnapshotSubscriber::$snapshotStorage | protected | property | The snapshot storage used to write configuration changes. |
ConfigSnapshotSubscriber::$sourceStorage | protected | property | The source storage used to discover configuration changes. |
ConfigSnapshotSubscriber::getSubscribedEvents | static | function | Registers the methods in this class that should be listeners. Overrides EventSubscriberInterface::getSubscribedEvents |
ConfigSnapshotSubscriber::onConfigImporterImport | public | function | Creates a config snapshot. |
ConfigSnapshotSubscriber::__construct | public | function | Constructs the ConfigSnapshotSubscriber object. |
Please login to continue.