W3cubDocs

/Drupal 8

class ConfigSnapshotSubscriber

Create a snapshot when config is imported.

Hierarchy

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.

© 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/class/ConfigSnapshotSubscriber/8.1.x