You are here

public function EnrollInviteUserForm::__construct in Open Social 8.9

Same name and namespace in other branches
  1. 10.3.x modules/social_features/social_event/modules/social_event_invite/src/Form/EnrollInviteUserForm.php \Drupal\social_event_invite\Form\EnrollInviteUserForm::__construct()
  2. 10.0.x modules/social_features/social_event/modules/social_event_invite/src/Form/EnrollInviteUserForm.php \Drupal\social_event_invite\Form\EnrollInviteUserForm::__construct()
  3. 10.1.x modules/social_features/social_event/modules/social_event_invite/src/Form/EnrollInviteUserForm.php \Drupal\social_event_invite\Form\EnrollInviteUserForm::__construct()
  4. 10.2.x modules/social_features/social_event/modules/social_event_invite/src/Form/EnrollInviteUserForm.php \Drupal\social_event_invite\Form\EnrollInviteUserForm::__construct()

Constructs a new BulkGroupInvitation Form.

Parameters

\Drupal\Core\Routing\RouteMatchInterface $route_match: The route match.

\Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager: The entity type manager.

\Drupal\Core\Logger\LoggerChannelFactoryInterface $logger_factory: The logger factory service.

Overrides InviteUserBaseForm::__construct

File

modules/social_features/social_event/modules/social_event_invite/src/Form/EnrollInviteUserForm.php, line 37

Class

EnrollInviteUserForm
Class EnrollInviteForm.

Namespace

Drupal\social_event_invite\Form

Code

public function __construct(RouteMatchInterface $route_match, EntityTypeManagerInterface $entity_type_manager, LoggerChannelFactoryInterface $logger_factory, EventEnrollmentStatusHelper $eventInviteStatus, PrivateTempStoreFactory $tempStoreFactory) {
  parent::__construct($route_match, $entity_type_manager, $logger_factory);
  $this->eventInviteStatus = $eventInviteStatus;
  $this->tempStoreFactory = $tempStoreFactory;
}