You are here

public function SettingsForm::__construct in Disable Login Page 1.0.x

Constructs the settings form.

Parameters

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

\Drupal\Core\Extension\ModuleHandlerInterface $module_handler: The request stack.

Overrides ConfigFormBase::__construct

File

src/Form/SettingsForm.php, line 31

Class

SettingsForm
Class SettingsForm.

Namespace

Drupal\disable_login\Form

Code

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