You are here

public function LearningPathProgressBlock::getCacheMaxAge in Opigno module 8

Same name and namespace in other branches
  1. 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\Block

Code

public function getCacheMaxAge() {
  return 0;
}