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

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

File

drupal/core/modules/views/lib/Drupal/views/Plugin/views/cache/CachePluginBase.php, line 97
Definition of Drupal\views\Plugin\views\cache\CachePluginBase.

Class

CachePluginBase
The base plugin to handle caching.

Namespace

Drupal\views\Plugin\views\cache

Code

protected function cacheExpire($type) {
}