public function CourseOutlineBlock::getCacheMaxAge in Course 8.2
Same name and namespace in other branches
- 8.3 src/Plugin/Block/CourseOutlineBlock.php \Drupal\course\Plugin\Block\CourseOutlineBlock::getCacheMaxAge()
- 3.x src/Plugin/Block/CourseOutlineBlock.php \Drupal\course\Plugin\Block\CourseOutlineBlock::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/ CourseOutlineBlock.php, line 24
Class
- CourseOutlineBlock
- Provides a course outline block.
Namespace
Drupal\course\Plugin\BlockCode
public function getCacheMaxAge() {
return 0;
}