You are here

public function SubscribeForm::__construct in SendinBlue 8.2

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

File

src/Form/SubscribeForm.php, line 47

Class

SubscribeForm
Subscribe form to signup SendinBlue newsletter.

Namespace

Drupal\sendinblue\Form

Code

public function __construct(EntityTypeManagerInterface $entityTypeManager, MessengerInterface $messenger, EmailValidatorInterface $emailValidator, SendinblueManager $sendinblueManager) {
  $this->entityTypeManager = $entityTypeManager;
  $this->messenger = $messenger;
  $this->emailValidator = $emailValidator;
  $this->sendinblueManager = $sendinblueManager;
}