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