You are here

public function HtmlMailConfigurationForm::__construct in HTML Mail 8

Same name and namespace in other branches
  1. 8.3 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 $moduleHandler: Module Handler service, injected into constructor.

Overrides ConfigFormBase::__construct

File

src/Form/HtmlMailConfigurationForm.php, line 345

Class

HtmlMailConfigurationForm
Class HtmlMailConfigurationForm.

Namespace

Drupal\htmlmail\Form

Code

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