public function BestPracticesFast404::getAction in Site Audit 8.3
.
Overrides SiteAuditCheckBase::getAction
File
- src/
Plugin/ SiteAuditCheck/ BestPracticesFast404.php, line 46
Class
- BestPracticesFast404
- Provides the BestPracticesFast404 Check.
Namespace
Drupal\site_audit\Plugin\SiteAuditCheckCode
public function getAction() {
if ($this->score == SiteAuditCheckBase::AUDIT_CHECK_SCORE_WARN) {
return $this
->t('See https://git.drupalcode.org/project/drupal/-/blob/9.1.x/sites/default/default.settings.php#L617-642 for details on how to implement, <a href="https://support.hypernode.com/en/best-practices/performance/how-to-set-up-smart-404-handling">unless this is already being done by your Web server</a> (e.g. Aegir with Nginx).');
}
}