You are here

public function SiteAuditCheckCachePreprocessCss::getAction in Site Audit 8.2

Same name and namespace in other branches
  1. 7 Check/Cache/PreprocessCss.php \SiteAuditCheckCachePreprocessCss::getAction()

Implements \SiteAudit\Check\Abstract\getAction().

Overrides SiteAuditCheckAbstract::getAction

File

Check/Cache/PreprocessCss.php, line 55
Contains \SiteAudit\Check\Cache\PreprocessCss.

Class

SiteAuditCheckCachePreprocessCss
Class SiteAuditCheckCachePreprocessCss.

Code

public function getAction() {
  if (!in_array($this->score, array(
    SiteAuditCheckAbstract::AUDIT_CHECK_SCORE_PASS,
  ))) {
    return dt('Go to /admin/config/development/performance and check "Aggregate and compress CSS files".');
  }
}