You are here

public function HtmlMailTestForm::__construct in HTML Mail 8.3

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

HtmlMailTestForm constructor.

Parameters

\Drupal\Core\Mail\MailManagerInterface $mail_manager: The mail manager service.

\Drupal\Core\Session\AccountInterface $account: The user account service.

File

src/Form/HtmlMailTestForm.php, line 45

Class

HtmlMailTestForm
Class HtmlMailTestForm.

Namespace

Drupal\htmlmail\Form

Code

public function __construct(MailManagerInterface $mail_manager, AccountInterface $account) {
  $this->mailManager = $mail_manager;
  $this->accountInterface = $account;
}