public function SendGridSettingsForm::__construct in SendGrid Integration 8.2
Same name and namespace in other branches
- 8 src/Form/SendGridSettingsForm.php \Drupal\sendgrid_integration\Form\SendGridSettingsForm::__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
- src/
Form/ SendGridSettingsForm.php, line 33
Class
- SendGridSettingsForm
- Class SendGridSettingsForm.
Namespace
Drupal\sendgrid_integration\FormCode
public function __construct(ConfigFactoryInterface $config_factory, ModuleHandlerInterface $moduleHandler) {
parent::__construct($config_factory);
$this->moduleHandler = $moduleHandler;
}