public function SiteAuditCheckViewsCount::getAction in Site Audit 7
Same name and namespace in other branches
- 8.2 Check/Views/Count.php \SiteAuditCheckViewsCount::getAction()
Implements \SiteAudit\Check\Abstract\getAction().
Overrides SiteAuditCheckAbstract::getAction
File
- Check/
Views/ Count.php, line 59 - 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.');
}
}