You are here

public function MetatagViewsCachePluginManager::getCacheMaxAge in Metatag 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 CacheableDependencyInterface::getCacheMaxAge

File

metatag_views/src/MetatagViewsCachePluginManager.php, line 67

Class

MetatagViewsCachePluginManager

Namespace

Drupal\metatag_views

Code

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