public function LearningPathProgressBlock::getCacheMaxAge in Opigno module 8
Same name and namespace in other branches
- 3.x src/Plugin/Block/LearningPathProgressBlock.php \Drupal\opigno_module\Plugin\Block\LearningPathProgressBlock::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
- src/
Plugin/ Block/ LearningPathProgressBlock.php, line 61
Class
- LearningPathProgressBlock
- Provides a 'LearningPathProgressBlock' block.
Namespace
Drupal\opigno_module\Plugin\BlockCode
public function getCacheMaxAge() {
return 0;
}