You are here

public function SiteAuditCheckViewsCacheResults::getResultWarn in Site Audit 8.2

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

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

Overrides SiteAuditCheckAbstract::getResultWarn

1 call to SiteAuditCheckViewsCacheResults::getResultWarn()
SiteAuditCheckViewsCacheResults::getResultInfo in Check/Views/CacheResults.php
Implements \SiteAudit\Check\Abstract\getResultInfo().

File

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

Class

SiteAuditCheckViewsCacheResults
Class SiteAuditCheckViewsCacheResults.

Code

public function getResultWarn() {
  return dt('The following Views are not caching query results: @views_without_results_caching', array(
    '@views_without_results_caching' => implode(', ', $this->registry['views_without_results_caching']),
  ));
}