public function SiteAuditCheckCachePageExpire::getResultPass in Site Audit 8.2
Same name and namespace in other branches
- 7 Check/Cache/PageExpire.php \SiteAuditCheckCachePageExpire::getResultPass()
Implements \SiteAudit\Check\Abstract\getResultPass().
Overrides SiteAuditCheckAbstract::getResultPass
File
- Check/
Cache/ PageExpire.php, line 43 - Contains \SiteAudit\Check\Cache\PageExpire.
Class
- SiteAuditCheckCachePageExpire
- Class SiteAuditCheckCachePageExpire.
Code
public function getResultPass() {
global $conf;
return dt('Expiration of cached pages is set to @minutes min.', array(
'@minutes' => round(\Drupal::config('system.performance')
->get('cache.page.max_age') / 60),
));
}