public function FileHashConfigForm::__construct in File Hash 8
Constructs a \Drupal\system\ConfigFormBase object.
Parameters
\Drupal\Core\Config\ConfigFactoryInterface $config_factory: The factory for configuration objects.
Overrides ConfigFormBase::__construct
File
- src/
Form/ FileHashConfigForm.php, line 40
Class
- FileHashConfigForm
- Implements the file hash config form.
Namespace
Drupal\filehash\FormCode
public function __construct(ConfigFactoryInterface $config_factory, ModuleHandlerInterface $module_handler) {
parent::__construct($config_factory);
$this->moduleHandler = $module_handler;
}