You are here

public function Dynamic_Banner_Block::getCacheMaxAge in Dynamic Banner 8

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/Dynamic_Banner_Block.php, line 236

Class

Dynamic_Banner_Block
Provides a 'Hello' Block.

Namespace

Drupal\dynamic_banner\Plugin\Block

Code

public function getCacheMaxAge() {
  return 0;
}