You are here

public function InviteWithdrawForm::__construct in Invite 8

Constructs a InviteAcceptController object.

Parameters

\Drupal\Core\Entity\EntityStorageInterface $invite_storage: Invite storage.

\Drupal\Core\Entity\EntityTypeManager $entityTypeManager: The entity type manager.

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

File

src/Form/InviteWithdrawForm.php, line 53

Class

InviteWithdrawForm
Class InviteWithdrawForm.

Namespace

Drupal\invite\Form

Code

public function __construct(EntityStorageInterface $invite_storage, EntityTypeManager $entityTypeManager, MessengerInterface $messenger) {
  $this->entityTypeManager = $entityTypeManager;
  $this->inviteStorage = $invite_storage;
  $this->messenger = $messenger;
}