public function SiteAuditCheckCachePageCompression::getDescription in Site Audit 7
Implements \SiteAudit\Check\Abstract\getDescription().
Overrides SiteAuditCheckAbstract::getDescription
File
- Check/
Cache/ PageCompression.php, line 22 - Contains \SiteAudit\Check\Cache\PageCompression.
Class
- SiteAuditCheckCachePageCompression
- Class SiteAuditCheckCachePageCompression.
Code
public function getDescription() {
if (drush_get_option('vendor') == 'pantheon') {
return dt('Verify that Drupal is not set to compress cached pages.');
}
else {
return dt('Verify that Drupal is set to compress cached pages.');
}
}