public function RedirectFormBlock::getCacheMaxAge in Drupal 8
Same name and namespace in other branches
- 9 core/modules/system/tests/modules/form_test/src/Plugin/Block/RedirectFormBlock.php \Drupal\form_test\Plugin\Block\RedirectFormBlock::getCacheMaxAge()
@todo Make cacheable once https://www.drupal.org/node/2351015 lands.
Overrides ContextAwarePluginBase::getCacheMaxAge
File
- core/
modules/ system/ tests/ modules/ form_test/ src/ Plugin/ Block/ RedirectFormBlock.php, line 72
Class
- RedirectFormBlock
- Provides a block containing a simple redirect form.
Namespace
Drupal\form_test\Plugin\BlockCode
public function getCacheMaxAge() {
return 0;
}