You are here

public function SiteAuditCheckCacheUsedBackends::getAction in Site Audit 8.2

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

Overrides SiteAuditCheckAbstract::getAction

File

Check/Cache/UsedBackends.php, line 77
Contains \SiteAudit\Check\Cache\UsedBackends.

Class

SiteAuditCheckCacheUsedBackends
Class SiteAuditCheckCacheUsedBackends.

Code

public function getAction() {
  if ($this->score == SiteAuditCheckAbstract::AUDIT_CHECK_SCORE_WARN) {
    return dt('Consider using a caching backend such as redis or memcache. For details on how to configure alternative caching backends, see https://api.drupal.org/api/drupal/core%21modules%21system%21core.api.php/group/cache/8#configuration .');
  }
}