You are here

public function BestPracticesSites::getAction in Site Audit 8.3

.

Overrides SiteAuditCheckBase::getAction

File

src/Plugin/SiteAuditCheck/BestPracticesSites.php, line 51

Class

BestPracticesSites
Provides the BestPracticesSites Check.

Namespace

Drupal\site_audit\Plugin\SiteAuditCheck

Code

public function getAction() {
  if ($this->score == SiteAuditCheckBase::AUDIT_CHECK_SCORE_WARN) {
    return $this
      ->t('Don\'t rely on symbolic links for core configuration files; copy sites.php where it should be and remove the symbolic link.');
  }
}