You are here

public function AutoUsernameSettingsForm::__construct in Automatic User Names 8

Class constructor.

Overrides ConfigFormBase::__construct

File

src/Form/AutoUsernameSettingsForm.php, line 63

Class

AutoUsernameSettingsForm
Class AutoUsernameSettingsForm.

Namespace

Drupal\auto_username\Form

Code

public function __construct(ConfigFactoryInterface $config_factory, AccountInterface $account, ModuleHandler $module_handler) {
  parent::__construct($config_factory);
  $this->account = $account;
  $this->moduleHandler = $module_handler;
}