public function InviteService::__construct in Open Social 10.1.x
Same name and namespace in other branches
- 8.9 modules/social_features/social_core/src/InviteService.php \Drupal\social_core\InviteService::__construct()
- 10.3.x modules/social_features/social_core/src/InviteService.php \Drupal\social_core\InviteService::__construct()
- 10.0.x modules/social_features/social_core/src/InviteService.php \Drupal\social_core\InviteService::__construct()
- 10.2.x modules/social_features/social_core/src/InviteService.php \Drupal\social_core\InviteService::__construct()
InviteService constructor.
Parameters
\Symfony\Component\HttpFoundation\RequestStack $request_stack: Request.
\Drupal\Core\Extension\ModuleHandlerInterface $moduleHandler: ModuleHandler.
\Drupal\Core\Session\AccountProxyInterface $currentUser: The current user.
File
- modules/
social_features/ social_core/ src/ InviteService.php, line 45
Class
- InviteService
- Class InviteService.
Namespace
Drupal\social_coreCode
public function __construct(RequestStack $request_stack, ModuleHandlerInterface $moduleHandler, AccountProxyInterface $currentUser) {
$this->requestStack = $request_stack;
$this->moduleHandler = $moduleHandler;
$this->currentUser = $currentUser;
}