You are here

public function InviteForm::__construct in Invite 8

Constructs InviteForm.

Parameters

\Drupal\Core\Entity\EntityManagerInterface $entity_manager: The entity type manager.

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

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

\Drupal\Core\Messenger\MessengerInterface $messenger: The messenger service.

Overrides ContentEntityForm::__construct

File

src/Form/InviteForm.php, line 39

Class

InviteForm
Form controller for Invite edit forms.

Namespace

Drupal\invite\Form

Code

public function __construct(EntityManagerInterface $entity_manager, EntityTypeBundleInfoInterface $entity_type_bundle_info = NULL, TimeInterface $time = NULL, MessengerInterface $messenger) {
  parent::__construct($entity_manager, $entity_type_bundle_info, $time);
  $this->messenger = $messenger;
}