public function SimplifyAdminForm::__construct in Simplify 8
Constructs a SimplifyAdminForm object.
Parameters
\Drupal\Core\Config\ConfigFactoryInterface $config_factory: The factory for configuration objects.
\Drupal\Core\Extension\ModuleHandler $module_handler: The module handler service.
Overrides ConfigFormBase::__construct
File
- src/
Form/ SimplifyAdminForm.php, line 31
Class
- SimplifyAdminForm
- Configure simplify global configurations.
Namespace
Drupal\simplify\FormCode
public function __construct(ConfigFactoryInterface $config_factory, ModuleHandler $module_handler) {
parent::__construct($config_factory);
$this->moduleHandler = $module_handler;
}