public function InviteResendForm::__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/ InviteResendForm.php, line 54
Class
- InviteResendForm
- Class InviteResendForm.
Namespace
Drupal\invite\FormCode
public function __construct(EntityStorageInterface $invite_storage, EntityTypeManager $entityTypeManager, MessengerInterface $messenger) {
$this->entityTypeManager = $entityTypeManager;
$this->inviteStorage = $invite_storage;
$this->messenger = $messenger;
}