public function ForwardFormBlock::getCacheMaxAge in Forward 8.2
Same name and namespace in other branches
- 8.3 src/Plugin/Block/ForwardFormBlock.php \Drupal\forward\Plugin\Block\ForwardFormBlock::getCacheMaxAge()
- 8 src/Plugin/Block/ForwardFormBlock.php \Drupal\forward\Plugin\Block\ForwardFormBlock::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/ ForwardFormBlock.php, line 148
Class
- ForwardFormBlock
- Provides a block with a Forward form.
Namespace
Drupal\forward\Plugin\BlockCode
public function getCacheMaxAge() {
return 0;
}