You are here

public function PostmarkSettingsForm::__construct in Postmark 8

Constructs a Postmark settings form.

Parameters

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

\Drupal\postmark\PostmarkHandler $postmark_handler: The core mail manager service.

Overrides ConfigFormBase::__construct

File

src/Form/PostmarkSettingsForm.php, line 31

Class

PostmarkSettingsForm
Configure Postmark settings.

Namespace

Drupal\postmark\Form

Code

public function __construct(ConfigFactoryInterface $config_factory, PostmarkHandler $postmark_handler) {
  parent::__construct($config_factory);
  $this->postmarkHandler = $postmark_handler;
}