public function BlocktabsBlock::getCacheMaxAge in Block Tabs 8
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/ BlocktabsBlock.php, line 157
Class
- BlocktabsBlock
- Provides a blocktabs block.
Namespace
Drupal\blocktabs\Plugin\BlockCode
public function getCacheMaxAge() {
return $this
->getEntity()
->getCacheMaxAge();
}