You are here

public function BlockTab::getCacheMaxAge in Block Tabs 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/Tab/BlockTab.php, line 154

Class

BlockTab
Block tab.

Namespace

Drupal\blocktabs\Plugin\Tab

Code

public function getCacheMaxAge() {
  return $this->blockPlugin
    ->getCacheMaxAge();
}