public function SendGridReportsSettingsForm::__construct in SendGrid Integration 8
Same name and namespace in other branches
- 8.2 modules/sendgrid_integration_reports/src/Form/SendGridReportsSettingsForm.php \Drupal\sendgrid_integration_reports\Form\SendGridReportsSettingsForm::__construct()
Constructs a \Drupal\system\ConfigFormBase object.
Parameters
\Drupal\Core\Config\ConfigFactoryInterface $config_factory: The factory for configuration objects.
\Drupal\Core\Extension\ModuleHandlerInterface $moduleHandler: The module handler service.
Overrides ConfigFormBase::__construct
File
- modules/
sendgrid_integration_reports/ src/ Form/ SendGridReportsSettingsForm.php, line 33
Class
- SendGridReportsSettingsForm
- Class for Sendgrid reports settings form.
Namespace
Drupal\sendgrid_integration_reports\FormCode
public function __construct(ConfigFactoryInterface $config_factory, ModuleHandlerInterface $moduleHandler) {
parent::__construct($config_factory);
$this->moduleHandler = $moduleHandler;
}