Skip to content
Snippets Groups Projects
Commit 4b233f80 authored by catch's avatar catch
Browse files

Issue #3250482 by quietone, daffie: The docblock of...

Issue #3250482 by quietone, daffie: The docblock of \Drupal\views\Plugin\views\cache\CachePluginBase::cacheSetMaxAge() is wrong

(cherry picked from commit 266fe1a7)
parent af165d2a
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment