diff --git a/core/modules/views/src/Plugin/views/cache/CachePluginBase.php b/core/modules/views/src/Plugin/views/cache/CachePluginBase.php index 8cbb2fd3439f6332355ec0285a238d262607bc27..4fe6c872c40665516f2cd87cf865bccba41e5ab8 100644 --- a/core/modules/views/src/Plugin/views/cache/CachePluginBase.php +++ b/core/modules/views/src/Plugin/views/cache/CachePluginBase.php @@ -81,13 +81,14 @@ protected function cacheExpire($type) { } /** - * Determine expiration time in the cache table of the cache type - * or CACHE_PERMANENT if item shouldn't be removed automatically from cache. + * Determine cache expiration time. * - * Plugins must override this to implement expiration in the cache table. + * Plugins must override this to implement expiration in the cache table. The + * default is CACHE_PERMANENT, indicating that the item will not be removed + * automatically from cache. * - * @param $type - * The cache type, either 'query', 'result'. + * @param string $type + * The cache type. */ protected function cacheSetMaxAge($type) { return Cache::PERMANENT;