protected function CachePluginBase::cacheExpire in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/modules/views/src/Plugin/views/cache/CachePluginBase.php \Drupal\views\Plugin\views\cache\CachePluginBase::cacheExpire()
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'.
1 call to CachePluginBase::cacheExpire()
- CachePluginBase::cacheGet in core/
modules/ views/ src/ Plugin/ views/ cache/ CachePluginBase.php - Retrieve data from the cache.
2 methods override CachePluginBase::cacheExpire()
- Tag::cacheExpire in core/
modules/ views/ src/ Plugin/ views/ cache/ Tag.php - Determine the expiration time of the cache type, or NULL if no expire.
- Time::cacheExpire in core/
modules/ views/ src/ Plugin/ views/ cache/ Time.php - Determine the expiration time of the cache type, or NULL if no expire.
File
- core/
modules/ views/ src/ Plugin/ views/ cache/ CachePluginBase.php, line 85 - Contains \Drupal\views\Plugin\views\cache\CachePluginBase.
Class
- CachePluginBase
- The base plugin to handle caching.
Namespace
Drupal\views\Plugin\views\cacheCode
protected function cacheExpire($type) {
}