You are here

public function EmailBodyForm::__construct in Mass Contact 8

Constructs the email body form.

Parameters

\Drupal\Core\Config\ConfigFactoryInterface $config_factory: The config factory service.

\Drupal\Core\Extension\ModuleHandlerInterface $module_handler: The module handler service.

\Drupal\mass_contact\MassContactInterface $mass_contact: The mass contact helper service.

Overrides ConfigFormBase::__construct

File

src/Form/EmailBodyForm.php, line 42

Class

EmailBodyForm
Email body settings form.

Namespace

Drupal\mass_contact\Form

Code

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