public function GoogleAnalyticsCounterBlock::getCacheMaxAge in Google Analytics Counter 8.3
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
- src/
Plugin/ Block/ GoogleAnalyticsCounterBlock.php, line 83
Class
- GoogleAnalyticsCounterBlock
- Provides a 'Google Analytics Counter block'.
Namespace
Drupal\google_analytics_counter\Plugin\BlockCode
public function getCacheMaxAge() {
// @todo Setup cache tags and context.
return 0;
}