You are here

public function SettingsForm::__construct in Config Distro 8

SettingsForm constructor.

Parameters

\Drupal\Core\Config\ConfigFactoryInterface $config_factory: The config factory for the parent.

\Drupal\Core\Config\StorageInterface $distro_storage: The distro storage to know what collections we have.

Overrides ConfigFormBase::__construct

File

modules/config_distro_ignore/src/Form/SettingsForm.php, line 35

Class

SettingsForm
Provides a setting UI for Config Distro Ignore.

Namespace

Drupal\config_distro_ignore\Form

Code

public function __construct(ConfigFactoryInterface $config_factory, StorageInterface $distro_storage) {
  parent::__construct($config_factory);
  $this->distroStorage = $distro_storage;
}