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