You are here

public function SiteAuditCheckContentFieldsUnused::getAction in Site Audit 8.2

Same name and namespace in other branches
  1. 7 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.');
  }
}