public function IngredientSettingsForm::__construct in Recipe 8.2
Constructs a new IngredientSettingsForm object.
Parameters
\Drupal\Core\Config\ConfigFactoryInterface $config_factory: The factory for configuration objects.
\Drupal\Core\Extension\ModuleHandlerInterface $module_handler: The module handler service.
Overrides ConfigFormBase::__construct
File
- modules/
ingredient/ src/ Form/ IngredientSettingsForm.php, line 32
Class
- IngredientSettingsForm
- Configure ingredient settings for this site.
Namespace
Drupal\ingredient\FormCode
public function __construct(ConfigFactoryInterface $config_factory, ModuleHandlerInterface $module_handler) {
parent::__construct($config_factory);
$this->moduleHandler = $module_handler;
}