public function CachePreprocessCSS::getAction in Site Audit 8.3
.
Overrides SiteAuditCheckBase::getAction
File
- src/
Plugin/ SiteAuditCheck/ CachePreprocessCSS.php, line 48
Class
- CachePreprocessCSS
- Provides the CachePreprocessCSS Check.
Namespace
Drupal\site_audit\Plugin\SiteAuditCheckCode
public function getAction() {
if (!in_array($this->score, [
SiteAuditCheckBase::AUDIT_CHECK_SCORE_PASS,
])) {
return $this
->t('Go to /admin/config/development/performance and check "Aggregate and compress CSS files".');
}
}