public function SiteAuditCheckBlockCache::getAction in Site Audit 7
Implements \SiteAudit\Check\Abstract\getAction().
Overrides SiteAuditCheckAbstract::getAction
File
- Check/
Block/ Cache.php, line 57 - Contains \SiteAudit\Check\Block\Cache.
Class
- SiteAuditCheckBlockCache
- Class SiteAuditCheckBlockCache.
Code
public function getAction() {
if ($this->score == SiteAuditCheckAbstract::AUDIT_CHECK_SCORE_FAIL) {
return dt('Go to /admin/config/development/performance and check "Cache blocks".');
}
}