You are here

public function HtmlMailConfigurationForm::__construct in HTML Mail 8.3

Same name and namespace in other branches
  1. 8 src/Form/HtmlMailConfigurationForm.php \Drupal\htmlmail\Form\HtmlMailConfigurationForm::__construct()

HtmlMailConfigurationForm constructor.

Parameters

\Drupal\Core\Config\ConfigFactoryInterface $config_factory: Config factory service, injected into constructor.

\Drupal\Core\Extension\ModuleHandlerInterface $module_handler: Module Handler service, injected into constructor.

Overrides ConfigFormBase::__construct

File

src/Form/HtmlMailConfigurationForm.php, line 34

Class

HtmlMailConfigurationForm
Class HtmlMailConfigurationForm.

Namespace

Drupal\htmlmail\Form

Code

public function __construct(ConfigFactoryInterface $config_factory, ModuleHandlerInterface $module_handler) {
  parent::__construct($config_factory);
  $this->moduleHandler = $module_handler;
}