You are here

public function DsTestBlock::getCacheMaxAge in Display Suite 8.2

Same name and namespace in other branches
  1. 8.4 tests/modules/ds_test/src/Plugin/Block/DsTestBlock.php \Drupal\ds_test\Plugin\Block\DsTestBlock::getCacheMaxAge()
  2. 8.3 tests/modules/ds_test/src/Plugin/Block/DsTestBlock.php \Drupal\ds_test\Plugin\Block\DsTestBlock::getCacheMaxAge()

Ensure that this object is not cached.

Overrides ContextAwarePluginBase::getCacheMaxAge

File

tests/modules/ds_test/src/Plugin/Block/DsTestBlock.php, line 41

Class

DsTestBlock
Defines a Display suite test block.

Namespace

Drupal\ds_test\Plugin\Block

Code

public function getCacheMaxAge() {
  return 0;
}