public function EventEnrollmentStatusHelper::__construct in Open Social 10.1.x
Same name and namespace in other branches
- 8.9 modules/social_features/social_event/src/EventEnrollmentStatusHelper.php \Drupal\social_event\EventEnrollmentStatusHelper::__construct()
- 10.3.x modules/social_features/social_event/src/EventEnrollmentStatusHelper.php \Drupal\social_event\EventEnrollmentStatusHelper::__construct()
- 10.0.x modules/social_features/social_event/src/EventEnrollmentStatusHelper.php \Drupal\social_event\EventEnrollmentStatusHelper::__construct()
- 10.2.x modules/social_features/social_event/src/EventEnrollmentStatusHelper.php \Drupal\social_event\EventEnrollmentStatusHelper::__construct()
EventInvitesAccess constructor.
Parameters
\Drupal\Core\Routing\RouteMatchInterface $routeMatch: The route match.
\Drupal\Core\Entity\EntityTypeManagerInterface $entityTypeManager: The entity type manager.
\Drupal\Core\Session\AccountProxyInterface $currentUser: The current user.
\Drupal\Core\Config\ConfigFactoryInterface $configFactory: Configuration factory.
File
- modules/
social_features/ social_event/ src/ EventEnrollmentStatusHelper.php, line 59
Class
- EventEnrollmentStatusHelper
- Class EventEnrollmentStatusHelper.
Namespace
Drupal\social_eventCode
public function __construct(RouteMatchInterface $routeMatch, EntityTypeManagerInterface $entityTypeManager, AccountProxyInterface $currentUser, ConfigFactoryInterface $configFactory) {
$this->routeMatch = $routeMatch;
$this->entityTypeManager = $entityTypeManager;
$this->currentUser = $currentUser;
$this->configFactory = $configFactory;
}