You are here

function CachePluginBase::cache_expire in Views (for Drupal 7) 8.3

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' or 'output'.

1 call to CachePluginBase::cache_expire()
CachePluginBase::cache_get in lib/Drupal/views/Plugin/views/cache/CachePluginBase.php
Retrieve data from the cache.
1 method overrides CachePluginBase::cache_expire()
Time::cache_expire in lib/Drupal/views/Plugin/views/cache/Time.php
Determine the expiration time of the cache type, or NULL if no expire.

File

lib/Drupal/views/Plugin/views/cache/CachePluginBase.php, line 112
Definition of Drupal\views\Plugin\views\cache\CachePluginBase.

Class

CachePluginBase
The base plugin to handle caching.

Namespace

Drupal\views\Plugin\views\cache

Code

function cache_expire($type) {
}