protected function SmartTag::cacheExpire in Tome 8
Determine the expiration time of the cache type, or NULL if no expire.
Plugins must override this to implement expiration.
Parameters
$type: The cache type, either 'query', 'result'.
Overrides CachePluginBase::cacheExpire
File
- modules/
tome_static/ modules/ tome_static_super_cache/ src/ Plugin/ views/ cache/ SmartTag.php, line 48
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 cacheExpire($type) {
return FALSE;
}