public function CustomTag::cacheExpire in Views Custom Cache Tags 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 Tag::cacheExpire
File
- src/
Plugin/ views/ cache/ CustomTag.php, line 122 - Contains \Drupal\views_custom_cache_tag\Plugin\views\cache\CustomTag.
Class
- CustomTag
- Simple caching of query results for Views displays.
Namespace
Drupal\views_custom_cache_tag\Plugin\views\cacheCode
public function cacheExpire($type) {
return FALSE;
}