You are here

public function MailgunAdminSettingsForm::__construct in Mailgun 8

Constructs a \Drupal\system\ConfigFormBase object.

Parameters

\Drupal\Core\Config\ConfigFactoryInterface $config_factory: The factory for configuration objects.

Overrides ConfigFormBase::__construct

File

src/Form/MailgunAdminSettingsForm.php, line 38

Class

MailgunAdminSettingsForm
Provides Mailgun configuration form.

Namespace

Drupal\mailgun\Form

Code

public function __construct(ConfigFactoryInterface $config_factory, MailgunHandlerInterface $mailgun_handler) {
  parent::__construct($config_factory);
  $this->mailgunHandler = $mailgun_handler;
}