You are here

public function SignupForm::__construct in SendinBlue 8

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

Constructs a ContentEntityForm object.

Parameters

\Drupal\Core\Entity\EntityRepositoryInterface $entity_repository: The entity repository service.

\Drupal\Core\Entity\EntityTypeBundleInfoInterface $entity_type_bundle_info: The entity type bundle service.

\Drupal\Component\Datetime\TimeInterface $time: The time service.

Overrides ContentEntityForm::__construct

File

src/Form/SignupForm.php, line 40

Class

SignupForm
Form controller for the content_entity_example entity edit forms.

Namespace

Drupal\sendinblue\Form

Code

public function __construct(EntityRepositoryInterface $entity_repository, EntityTypeBundleInfoInterface $entity_type_bundle_info, TimeInterface $time, MessengerInterface $messenger, RouteBuilderInterface $routeBuilder, SendinblueManager $sendinblueManager) {
  parent::__construct($entity_repository, $entity_type_bundle_info, $time);
  $this->sendinblueManager = $sendinblueManager;
  $this->messenger = $messenger;
  $this->routeBuilder = $routeBuilder;
}