public function SiteAuditCheckContentFieldCount::getAction in Site Audit 8.2
Same name and namespace in other branches
- 7 Check/Content/FieldCount.php \SiteAuditCheckContentFieldCount::getAction()
Implements \SiteAudit\Check\Abstract\getAction().
Overrides SiteAuditCheckAbstract::getAction
File
- Check/
Content/ FieldCount.php, line 89 - Contains \SiteAudit\Check\Content\FieldCount.
Class
- SiteAuditCheckContentFieldCount
- Class SiteAuditCheckContentFieldCount.
Code
public function getAction() {
if ($this
->getScore() == SiteAuditCheckAbstract::AUDIT_CHECK_SCORE_FAIL) {
return dt('Consider disabling the field module.');
}
}