You are here

public function MailgunTestEmailForm::__construct in Mailgun 8

MailgunTestEmailForm constructor.

File

src/Form/MailgunTestEmailForm.php, line 59

Class

MailgunTestEmailForm
Provides test email form with common email parameters.

Namespace

Drupal\mailgun\Form

Code

public function __construct(MailgunHandlerInterface $mailgun_handler, AccountProxyInterface $user, MailManagerInterface $mail_manager, FileSystemInterface $file_system, ModuleHandlerInterface $module_handler) {
  $this->mailgunHandler = $mailgun_handler;
  $this->user = $user;
  $this->mailManager = $mail_manager;
  $this->fileSystem = $file_system;
  $this->moduleHandler = $module_handler;
}