You are here

protected function CachePluginBase::cacheExpire in Drupal 8

Same name and namespace in other branches
  1. 9 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 80

Class

CachePluginBase
The base plugin to handle caching.

Namespace

Drupal\views\Plugin\views\cache

Code

protected function cacheExpire($type) {
}