public function SiteAuditCheckWatchdog404::getAction in Site Audit 7
Same name and namespace in other branches
- 8.2 Check/Watchdog/404.php \SiteAuditCheckWatchdog404::getAction()
Implements \SiteAudit\Check\Abstract\getAction().
Overrides SiteAuditCheckAbstract::getAction
File
- Check/
Watchdog/ 404.php, line 58 - Contains \SiteAudit\Check\Watchdog\404.
Class
- SiteAuditCheckWatchdog404
- Class SiteAuditCheckWatchdog404.
Code
public function getAction() {
if ($this->score == SiteAuditCheckAbstract::AUDIT_CHECK_SCORE_WARN) {
return dt('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.');
}
}