You are here

public function WebformTestAjaxBlock::getCacheMaxAge in Webform 8.5

Same name and namespace in other branches
  1. 6.x tests/modules/webform_test_ajax/src/Plugin/Block/WebformTestAjaxBlock.php \Drupal\webform_test_ajax\Plugin\Block\WebformTestAjaxBlock::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

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

Class

WebformTestAjaxBlock
Provides a 'webform_test_block_context' block.

Namespace

Drupal\webform_test_ajax\Plugin\Block

Code

public function getCacheMaxAge() {
  return 0;
}