public function FileDownloadSettingsForm::__construct in File Download 8
Constructs a \Drupal\user\StatisticsSettingsForm object.
Parameters
\Drupal\Core\Config\ConfigFactoryInterface $config_factory: The factory for configuration objects.
\Drupal\Core\Extension\ModuleHandlerInterface $module_handler: The module handler.
Overrides ConfigFormBase::__construct
File
- modules/
file_download_counter/ src/ FileDownloadSettingsForm.php, line 31
Class
- FileDownloadSettingsForm
- Configure statistics settings for this site.
Namespace
Drupal\file_download_counterCode
public function __construct(ConfigFactoryInterface $config_factory, ModuleHandlerInterface $module_handler) {
parent::__construct($config_factory);
$this->moduleHandler = $module_handler;
}