You are here

public function MaestroProcessStatusBlock::getCacheMaxAge in Maestro 3.x

Same name and namespace in other branches
  1. 8.2 src/Plugin/Block/MaestroProcessStatusBlock.php \Drupal\maestro\Plugin\Block\MaestroProcessStatusBlock::getCacheMaxAge()

Overrides ContextAwarePluginTrait::getCacheMaxAge

See also

\Drupal\Core\Plugin\ContextAwarePluginBase::getCacheMaxAge()

File

src/Plugin/Block/MaestroProcessStatusBlock.php, line 176

Class

MaestroProcessStatusBlock
Provides a Maestro block that shows the linear status output for processes this user belongs to or in general.

Namespace

Drupal\maestro\Plugin\Block

Code

public function getCacheMaxAge() {

  // Caching turned off for this block.
  return 0;
}