public function DsTestBlock::getCacheMaxAge in Display Suite 8.4
Same name and namespace in other branches
- 8.2 tests/modules/ds_test/src/Plugin/Block/DsTestBlock.php \Drupal\ds_test\Plugin\Block\DsTestBlock::getCacheMaxAge()
- 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\BlockCode
public function getCacheMaxAge() {
return 0;
}