You are here

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\SiteAuditCheck

Code

public function getAction() {
  if ($this
    ->getScore() == SiteAuditCheckBase::AUDIT_CHECK_SCORE_FAIL) {
    return $this
      ->t('Consider disabling the field module.');
  }
}