class FlushPageCacheDrupalDatabaseCache in Flush page cache 7
@file Define flush page cache cache class for Drupal default database caching.
Hierarchy
- class \DrupalDatabaseCache implements DrupalCacheInterface
Expanded class hierarchy of FlushPageCacheDrupalDatabaseCache
File
- ./
flush_page_cache.cache.inc, line 7 - Define flush page cache cache class for Drupal default database caching.
View source
class FlushPageCacheDrupalDatabaseCache extends DrupalDatabaseCache {
function get($cid) {
// Handle flush page cache request by deleting the cached object and returning FALSE.
if (function_exists('flush_page_cache_requested') && flush_page_cache_requested()) {
return FALSE;
}
return parent::get($cid);
}
}