You are here

public function MandrillAdminSettingsForm::__construct in Mandrill 8

Constructor.

Parameters

\Drupal\Core\Mail\MailManagerInterface $mail_manager:

\Drupal\Core\Path\PathValidatorInterface $path_validator:

\Drupal\Core\Render\RendererInterface $renderer:

\Drupal\mandrill\MandrillServiceInterface $mandrill:

\Drupal\mandrill\MandrillAPIInterface $mandrill_api:

Overrides ConfigFormBase::__construct

File

src/Form/MandrillAdminSettingsForm.php, line 65

Class

MandrillAdminSettingsForm
Implements an Mandrill Admin Settings form.

Namespace

Drupal\mandrill\Form

Code

public function __construct(MailManagerInterface $mail_manager, PathValidatorInterface $path_validator, RendererInterface $renderer, MandrillServiceInterface $mandrill, MandrillAPIInterface $mandrill_api) {
  $this->mailManager = $mail_manager;
  $this->pathValidator = $path_validator;
  $this->renderer = $renderer;
  $this->mandrill = $mandrill;
  $this->mandrillAPI = $mandrill_api;
}