You are here

public function WebformAccessGroupEntityBlock::getCacheMaxAge in Webform 8.5

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

modules/webform_access/src/Plugin/Block/WebformAccessGroupEntityBlock.php, line 115

Class

WebformAccessGroupEntityBlock
Provides a 'webform_access_group_entity' block.

Namespace

Drupal\webform_access\Plugin\Block

Code

public function getCacheMaxAge() {

  // @todo Setup cache tags and context .
  return 0;
}