You are here

public function EventAnEnrollCacheContext::__construct in Open Social 8.8

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

Constructs a new PreviewLinkCacheContext.

Parameters

\Drupal\Core\Routing\RouteMatchInterface $routeMatch: Route match.

File

modules/social_features/social_event/modules/social_event_an_enroll/src/EventAnEnrollCacheContext.php, line 27

Class

EventAnEnrollCacheContext
Defines a class for a anonymous event enrollment route context.

Namespace

Drupal\social_event_an_enroll

Code

public function __construct(RouteMatchInterface $routeMatch) {
  $this->routeMatch = $routeMatch;
}