public static function EventAnEnrollCacheContext::getLabel in Open Social 10.1.x
Same name and namespace in other branches
- 8.9 modules/social_features/social_event/modules/social_event_an_enroll/src/EventAnEnrollCacheContext.php \Drupal\social_event_an_enroll\EventAnEnrollCacheContext::getLabel()
- 8.8 modules/social_features/social_event/modules/social_event_an_enroll/src/EventAnEnrollCacheContext.php \Drupal\social_event_an_enroll\EventAnEnrollCacheContext::getLabel()
- 10.3.x modules/social_features/social_event/modules/social_event_an_enroll/src/EventAnEnrollCacheContext.php \Drupal\social_event_an_enroll\EventAnEnrollCacheContext::getLabel()
- 10.0.x modules/social_features/social_event/modules/social_event_an_enroll/src/EventAnEnrollCacheContext.php \Drupal\social_event_an_enroll\EventAnEnrollCacheContext::getLabel()
- 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_enrollCode
public static function getLabel() {
return 'Is AN enrollment route';
}