You are here

public static function EventAnEnrollCacheContext::getLabel 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::getLabel()
  2. 10.3.x modules/social_features/social_event/modules/social_event_an_enroll/src/EventAnEnrollCacheContext.php \Drupal\social_event_an_enroll\EventAnEnrollCacheContext::getLabel()
  3. 10.0.x modules/social_features/social_event/modules/social_event_an_enroll/src/EventAnEnrollCacheContext.php \Drupal\social_event_an_enroll\EventAnEnrollCacheContext::getLabel()
  4. 10.1.x modules/social_features/social_event/modules/social_event_an_enroll/src/EventAnEnrollCacheContext.php \Drupal\social_event_an_enroll\EventAnEnrollCacheContext::getLabel()
  5. 10.2.x modules/social_features/social_event/modules/social_event_an_enroll/src/EventAnEnrollCacheContext.php \Drupal\social_event_an_enroll\EventAnEnrollCacheContext::getLabel()

Returns the label of the cache context.

Return value

string The label of the cache context.

Overrides CacheContextInterface::getLabel

File

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

Class

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

Namespace

Drupal\social_event_an_enroll

Code

public static function getLabel() {
  return 'Is AN enrollment route';
}