public function ContentFieldCount::getAction in Site Audit 8.3
.
Overrides SiteAuditCheckBase::getAction
File
- src/
Plugin/ SiteAuditCheck/ ContentFieldCount.php, line 70
Class
- ContentFieldCount
- Provides the ContentFieldCount Check.
Namespace
Drupal\site_audit\Plugin\SiteAuditCheckCode
public function getAction() {
if ($this
->getScore() == SiteAuditCheckBase::AUDIT_CHECK_SCORE_FAIL) {
return $this
->t('Consider disabling the field module.');
}
}