You are here

public function ForwardLinkBlock::getCacheMaxAge in Forward 8.3

Same name and namespace in other branches
  1. 8 src/Plugin/Block/ForwardLinkBlock.php \Drupal\forward\Plugin\Block\ForwardLinkBlock::getCacheMaxAge()
  2. 8.2 src/Plugin/Block/ForwardLinkBlock.php \Drupal\forward\Plugin\Block\ForwardLinkBlock::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/ForwardLinkBlock.php, line 117
Contains \Drupal\forward\Plugin\Block\ForwardLinkBlock.

Class

ForwardLinkBlock
Provides a block with a Forward link.

Namespace

Drupal\forward\Plugin\Block

Code

public function getCacheMaxAge() {
  return 0;
}