You are here

public function BestPracticesSitesSuperfluous::getAction in Site Audit 8.3

.

Overrides SiteAuditCheckBase::getAction

File

src/Plugin/SiteAuditCheck/BestPracticesSitesSuperfluous.php, line 48

Class

BestPracticesSitesSuperfluous
Provides the BestPracticesSitesSuperfluous Check.

Namespace

Drupal\site_audit\Plugin\SiteAuditCheck

Code

public function getAction() {
  if ($this->score == SiteAuditCheckBase::AUDIT_CHECK_SCORE_WARN) {
    return $this
      ->t('Unless you have an explicit need for it, don\'t store anything other than settings here.');
  }
}