public function EventRequestEnrollmentNotification::getCacheTags in Open Social 10.3.x
Same name and namespace in other branches
- 8.9 modules/social_features/social_event/src/Plugin/Block/EventRequestEnrollmentNotification.php \Drupal\social_event\Plugin\Block\EventRequestEnrollmentNotification::getCacheTags()
- 10.0.x modules/social_features/social_event/src/Plugin/Block/EventRequestEnrollmentNotification.php \Drupal\social_event\Plugin\Block\EventRequestEnrollmentNotification::getCacheTags()
- 10.1.x modules/social_features/social_event/src/Plugin/Block/EventRequestEnrollmentNotification.php \Drupal\social_event\Plugin\Block\EventRequestEnrollmentNotification::getCacheTags()
- 10.2.x modules/social_features/social_event/src/Plugin/Block/EventRequestEnrollmentNotification.php \Drupal\social_event\Plugin\Block\EventRequestEnrollmentNotification::getCacheTags()
Overrides ContextAwarePluginTrait::getCacheTags
File
- modules/
social_features/ social_event/ src/ Plugin/ Block/ EventRequestEnrollmentNotification.php, line 218
Class
- EventRequestEnrollmentNotification
- Provides a 'Event requests notification' block.
Namespace
Drupal\social_event\Plugin\BlockCode
public function getCacheTags() {
return Cache::mergeTags(parent::getCacheTags(), [
'event_enrollment_list:' . $this->event
->id(),
]);
}