You are here

public function ConfigSubscriber::__construct in Autosave Form 8

Constructs a new class object.

Parameters

\Drupal\autosave_form\Storage\AutosaveEntityFormStorageInterface $autosave_entity_form_storage: The autosave entity form storage.

File

src/EventSubscriber/ConfigSubscriber.php, line 28

Class

ConfigSubscriber
Purges autosave states on configuration changes.

Namespace

Drupal\autosave_form\EventSubscriber

Code

public function __construct(AutosaveEntityFormStorageInterface $autosave_entity_form_storage) {
  $this->autosaveEntityFormStorage = $autosave_entity_form_storage;
}