public function SiteAuditCheckContentFieldsUnused::getAction in Site Audit 7
Same name and namespace in other branches
- 8.2 Check/Content/FieldsUnused.php \SiteAuditCheckContentFieldsUnused::getAction()
Implements \SiteAudit\Check\Abstract\getAction().
Overrides SiteAuditCheckAbstract::getAction
File
- Check/
Content/ FieldsUnused.php, line 59 - Contains \SiteAudit\Check\Content\FieldsUnused.
Class
- SiteAuditCheckContentFieldsUnused
- Class SiteAuditCheckContentFieldsUnused.
Code
public function getAction() {
if ($this
->getScore() == SiteAuditCheckAbstract::AUDIT_CHECK_SCORE_WARN) {
return dt('Consider removing unused fields.');
}
}