You are here

public function SiteAuditCheckViewsCount::getAction in Site Audit 8.2

Same name and namespace in other branches
  1. 7 Check/Views/Count.php \SiteAuditCheckViewsCount::getAction()

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

Overrides SiteAuditCheckAbstract::getAction

File

Check/Views/Count.php, line 61
Contains \SiteAudit\Check\Views\Count.

Class

SiteAuditCheckViewsCount
Class SiteAuditCheckViewsCount.

Code

public function getAction() {
  if ($this->score == SiteAuditCheckAbstract::AUDIT_CHECK_SCORE_WARN) {
    return dt('Consider disabling the views module if you don\'t need it.');
  }
}