public function CancelEnrollInviteController::__construct in Open Social 10.1.x
Same name and namespace in other branches
- 8.9 modules/social_features/social_event/modules/social_event_invite/src/Controller/CancelEnrollInviteController.php \Drupal\social_event_invite\Controller\CancelEnrollInviteController::__construct()
- 10.3.x modules/social_features/social_event/modules/social_event_invite/src/Controller/CancelEnrollInviteController.php \Drupal\social_event_invite\Controller\CancelEnrollInviteController::__construct()
- 10.0.x modules/social_features/social_event/modules/social_event_invite/src/Controller/CancelEnrollInviteController.php \Drupal\social_event_invite\Controller\CancelEnrollInviteController::__construct()
- 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\ControllerCode
public function __construct(RequestStack $requestStack, AccountProxyInterface $currentUser) {
$this->requestStack = $requestStack;
$this->currentUser = $currentUser;
}