You are here

public function IgnoredModulesForm::__construct in Nagios Monitoring 8

Constructs a ModulesListForm object.

Parameters

\Drupal\Core\Extension\ModuleHandlerInterface $module_handler: The module handler.

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

Overrides ConfigFormBase::__construct

File

src/Form/IgnoredModulesForm.php, line 30

Class

IgnoredModulesForm

Namespace

Drupal\nagios\Form

Code

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