You are here

public function SocialEventInviteAccessHelper::__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/SocialEventInviteAccessHelper.php \Drupal\social_event_invite\SocialEventInviteAccessHelper::__construct()
  2. 10.3.x modules/social_features/social_event/modules/social_event_invite/src/SocialEventInviteAccessHelper.php \Drupal\social_event_invite\SocialEventInviteAccessHelper::__construct()
  3. 10.0.x modules/social_features/social_event/modules/social_event_invite/src/SocialEventInviteAccessHelper.php \Drupal\social_event_invite\SocialEventInviteAccessHelper::__construct()
  4. 10.2.x modules/social_features/social_event/modules/social_event_invite/src/SocialEventInviteAccessHelper.php \Drupal\social_event_invite\SocialEventInviteAccessHelper::__construct()

EventInvitesAccess constructor.

Parameters

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

\Drupal\Core\Config\ConfigFactoryInterface $configFactory: Configuration factory.

\Drupal\social_group\SocialGroupHelperService $groupHelperService: The group helper service.

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

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

File

modules/social_features/social_event/modules/social_event_invite/src/SocialEventInviteAccessHelper.php, line 72

Class

SocialEventInviteAccessHelper
Class SocialEventInviteAccessHelper.

Namespace

Drupal\social_event_invite

Code

public function __construct(RouteMatchInterface $routeMatch, ConfigFactoryInterface $configFactory, SocialGroupHelperService $groupHelperService, EntityTypeManagerInterface $entityTypeManager, AccountProxyInterface $currentUser) {
  $this->routeMatch = $routeMatch;
  $this->configFactory = $configFactory;
  $this->groupHelperService = $groupHelperService;
  $this->entityTypeManager = $entityTypeManager;
  $this->currentUser = $currentUser;
}