You are here

public function SiteAuditCheckViewsCacheResults::getResultPass in Site Audit 7

Same name and namespace in other branches
  1. 8.2 Check/Views/CacheResults.php \SiteAuditCheckViewsCacheResults::getResultPass()

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

Overrides SiteAuditCheckAbstract::getResultPass

File

Check/Views/CacheResults.php, line 43
Contains \SiteAudit\Check\Views\CacheResults.

Class

SiteAuditCheckViewsCacheResults
Class SiteAuditCheckViewsCacheResults.

Code

public function getResultPass() {
  if ($this->registry['views_cache_bully_results']) {
    return dt('Views Cache Bully is enforcing query result caching.');
  }
  return dt('Caching query results for all applicable Views.');
}