protected function SmartTag::getDefaultCacheMaxAge in Tome 8
Returns the default cache max age.
Overrides CachePluginBase::getDefaultCacheMaxAge
File
- modules/
tome_static/ modules/ tome_static_super_cache/ src/ Plugin/ views/ cache/ SmartTag.php, line 55
Class
- SmartTag
- Omits list cache tags from a View and expires cache on entity CRUD.
Namespace
Drupal\tome_static_super_cache\Plugin\views\cacheCode
protected function getDefaultCacheMaxAge() {
return CacheBackendInterface::CACHE_PERMANENT;
}