public function GroupStatisticBlock::getCacheMaxAge in Open Social 8.9
Same name and namespace in other branches
- 8.8 modules/social_features/social_group/src/Plugin/Block/GroupStatisticBlock.php \Drupal\social_group\Plugin\Block\GroupStatisticBlock::getCacheMaxAge()
- 10.3.x modules/social_features/social_group/src/Plugin/Block/GroupStatisticBlock.php \Drupal\social_group\Plugin\Block\GroupStatisticBlock::getCacheMaxAge()
- 10.0.x modules/social_features/social_group/src/Plugin/Block/GroupStatisticBlock.php \Drupal\social_group\Plugin\Block\GroupStatisticBlock::getCacheMaxAge()
- 10.1.x modules/social_features/social_group/src/Plugin/Block/GroupStatisticBlock.php \Drupal\social_group\Plugin\Block\GroupStatisticBlock::getCacheMaxAge()
- 10.2.x modules/social_features/social_group/src/Plugin/Block/GroupStatisticBlock.php \Drupal\social_group\Plugin\Block\GroupStatisticBlock::getCacheMaxAge()
The maximum age for which this object may be cached.
Return value
int The maximum time in seconds that this object may be cached.
Overrides ContextAwarePluginBase::getCacheMaxAge
File
- modules/
social_features/ social_group/ src/ Plugin/ Block/ GroupStatisticBlock.php, line 141
Class
- GroupStatisticBlock
- Provides a 'GroupStatisticBlock' block.
Namespace
Drupal\social_group\Plugin\BlockCode
public function getCacheMaxAge() {
return 0;
}