You are here

public function WebformTestAjaxBlock::getCacheMaxAge in Webform 6.x

Same name and namespace in other branches
  1. 8.5 tests/modules/webform_test_ajax/src/Plugin/Block/WebformTestAjaxBlock.php \Drupal\webform_test_ajax\Plugin\Block\WebformTestAjaxBlock::getCacheMaxAge()

Overrides ContextAwarePluginTrait::getCacheMaxAge

File

tests/modules/webform_test_ajax/src/Plugin/Block/WebformTestAjaxBlock.php, line 159

Class

WebformTestAjaxBlock
Provides a 'webform_test_block_context' block.

Namespace

Drupal\webform_test_ajax\Plugin\Block

Code

public function getCacheMaxAge() {
  return 0;
}