You are here

public function CancelEnrollInviteController::__construct in Open Social 10.1.x

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

UpdateEnrollRequestController constructor.

Parameters

\Symfony\Component\HttpFoundation\RequestStack $requestStack: The request stack.

\Drupal\Core\Session\AccountProxyInterface $currentUser: The current user.

File

modules/social_features/social_event/modules/social_event_invite/src/Controller/CancelEnrollInviteController.php, line 45

Class

CancelEnrollInviteController
Cancels a pending enrollment invite.

Namespace

Drupal\social_event_invite\Controller

Code

public function __construct(RequestStack $requestStack, AccountProxyInterface $currentUser) {
  $this->requestStack = $requestStack;
  $this->currentUser = $currentUser;
}