You are here

public function TransactionnalEmailForm::__construct in SendinBlue 8

Same name and namespace in other branches
  1. 8.2 src/Form/TransactionnalEmailForm.php \Drupal\sendinblue\Form\TransactionnalEmailForm::__construct()

Constructs a \Drupal\system\ConfigFormBase object.

Parameters

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

\Drupal\Component\Utility\EmailValidator $emailValidator: EmailValidatorInterface.

\Drupal\sendinblue\SendinblueManager $sendinblueManager: SendinblueManager.

Overrides ConfigFormBase::__construct

File

src/Form/TransactionnalEmailForm.php, line 39

Class

TransactionnalEmailForm
Class Form Transactionnal emails SMTP.

Namespace

Drupal\sendinblue\Form

Code

public function __construct(ConfigFactoryInterface $config_factory, EmailValidator $emailValidator, SendinblueManager $sendinblueManager) {
  parent::__construct($config_factory);
  $this->emailValidator = $emailValidator;
  $this->sendinblueManager = $sendinblueManager;
}