You are here

public function SiteAuditCheckSecurityMenuRouter::getAction in Site Audit 8.2

Same name and namespace in other branches
  1. 7 Check/Security/MenuRouter.php \SiteAuditCheckSecurityMenuRouter::getAction()

Implements \SiteAudit\Check\Abstract\getAction().

Overrides SiteAuditCheckAbstract::getAction

File

Check/Security/MenuRouter.php, line 83
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 file containing the offending menu_router entries, clear the site caches, update your Drupal site code, and check your entire codebase for questionable code using a tool like the Hacked! module.');
  }
}