You are here

public function ViewsCacheResults::getResultWarn in Site Audit 8.3

.

Overrides SiteAuditCheckBase::getResultWarn

1 call to ViewsCacheResults::getResultWarn()
ViewsCacheResults::getResultInfo in src/Plugin/SiteAuditCheck/ViewsCacheResults.php
.

File

src/Plugin/SiteAuditCheck/ViewsCacheResults.php, line 43

Class

ViewsCacheResults
Provides the ViewsCacheResults Check.

Namespace

Drupal\site_audit\Plugin\SiteAuditCheck

Code

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