public function ConfigSyncSnapshotSubscriber::__construct in Configuration Synchronizer 8.2
Constructs the ConfigSnapshotSubscriber object.
Parameters
\Drupal\config_sync\ConfigSyncSnapshotterInterface $snapshotter: The snapshotter.
\Drupal\config_filter\ConfigFilterManagerInterface $config_filter_manager: The filter manager.
\Drupal\Core\State\StateInterface $state: The state storage object.
File
- src/
EventSubscriber/ ConfigSyncSnapshotSubscriber.php, line 49
Class
- ConfigSyncSnapshotSubscriber
- Updates the snapshot when config is imported.
Namespace
Drupal\config_sync\EventSubscriberCode
public function __construct(ConfigSyncSnapshotterInterface $snapshotter, ConfigFilterManagerInterface $config_filter_manager, StateInterface $state) {
$this->snapshotter = $snapshotter;
$this->configFilterManager = $config_filter_manager;
$this->state = $state;
}