You are here

public function SiteAuditCheckCachePageCompression::getResultFail in Site Audit 7

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

Overrides SiteAuditCheckAbstract::getResultFail

File

Check/Cache/PageCompression.php, line 34
Contains \SiteAudit\Check\Cache\PageCompression.

Class

SiteAuditCheckCachePageCompression
Class SiteAuditCheckCachePageCompression.

Code

public function getResultFail() {
  if (drush_get_option('vendor') == 'pantheon') {
    return dt('Cached pages are compressed!');
  }
  else {
    return dt('Cached pages are not compressed!');
  }
}