You are here

public function EventRequestEnrollmentNotification::getCacheTags in Open Social 10.3.x

Same name and namespace in other branches
  1. 8.9 modules/social_features/social_event/src/Plugin/Block/EventRequestEnrollmentNotification.php \Drupal\social_event\Plugin\Block\EventRequestEnrollmentNotification::getCacheTags()
  2. 10.0.x modules/social_features/social_event/src/Plugin/Block/EventRequestEnrollmentNotification.php \Drupal\social_event\Plugin\Block\EventRequestEnrollmentNotification::getCacheTags()
  3. 10.1.x modules/social_features/social_event/src/Plugin/Block/EventRequestEnrollmentNotification.php \Drupal\social_event\Plugin\Block\EventRequestEnrollmentNotification::getCacheTags()
  4. 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\Block

Code

public function getCacheTags() {
  return Cache::mergeTags(parent::getCacheTags(), [
    'event_enrollment_list:' . $this->event
      ->id(),
  ]);
}