public function SiteAuditCheckSecurityMenuRouter::getAction in Site Audit 7
Same name and namespace in other branches
- 8.2 Check/Security/MenuRouter.php \SiteAuditCheckSecurityMenuRouter::getAction()
Implements \SiteAudit\Check\Abstract\getAction().
Overrides SiteAuditCheckAbstract::getAction
File
- Check/
Security/ MenuRouter.php, line 79 - Contains \SiteAudit\Check\Security\MenuRouter.
Class
- SiteAuditCheckSecurityMenuRouter
- Class SiteAuditCheckSecurityMenuRouter.
Code
public function getAction() {
if ($this->score == SiteAuditCheckAbstract::AUDIT_CHECK_SCORE_FAIL) {
return dt('Delete the offending entries from your menu_router, delete the target file, update your Drupal site code, and check your entire codebase for questionable code using a tool like the Hacked! module.');
}
}