class ConfigSnapshotSubscriber

Create a snapshot when config is imported.

Hierarchy

Expanded class hierarchy of ConfigSnapshotSubscriber

1 string reference to 'ConfigSnapshotSubscriber'

File

drupal/core/lib/Drupal/Core/EventSubscriber/ConfigSnapshotSubscriber.php, line 18
Contains \Drupal\Core\EventSubscriber\ConfigSnapshotSubscriber.

Namespace

Drupal\Core\EventSubscriber
View source

Members

Namesort descending Modifiers Type Description Overrides
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.