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