You are here

public function SettingsForm::__construct in Auto Purge Users 8

Same name and namespace in other branches
  1. 8.3 src/Form/SettingsForm.php \Drupal\purge_users\Form\SettingsForm::__construct()
  2. 8.2 src/Form/SettingsForm.php \Drupal\purge_users\Form\SettingsForm::__construct()

Constructs a \Drupal\system\ConfigFormBase object.

Parameters

\Drupal\Core\Config\ConfigFactoryInterface $config_factory: The factory for configuration objects.

Overrides ConfigFormBase::__construct

File

src/Form/SettingsForm.php, line 20

Class

SettingsForm
Class SettingsForm.

Namespace

Drupal\purge_users\Form

Code

public function __construct(ConfigFactoryInterface $config_factory) {
  parent::__construct($config_factory);
  $this->config = $config_factory;
}