You are here

public function SiteAuditCheckCachePageCompression::getResultPass in Site Audit 7

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

Overrides SiteAuditCheckAbstract::getResultPass

File

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

Class

SiteAuditCheckCachePageCompression
Class SiteAuditCheckCachePageCompression.

Code

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