You are here

public function Watchdog404::getAction in Site Audit 8.3

.

Overrides SiteAuditCheckBase::getAction

File

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

Class

Watchdog404
Provides the Watchdog404 Check.

Namespace

Drupal\site_audit\Plugin\SiteAuditCheck

Code

public function getAction() {
  if ($this->score == SiteAuditCheckBase::AUDIT_CHECK_SCORE_WARN) {
    return $this
      ->t('Review the full report at admin/reports/page-not-found. If self-inflicted, fix the source. If a redirect is appropriate, visit admin/config/search/path and add URL aliases.');
  }
}