You are here

public function SecurityMenuRouter::getAction in Site Audit 8.3

.

Overrides SiteAuditCheckBase::getAction

File

src/Plugin/SiteAuditCheck/SecurityMenuRouter.php, line 78

Class

SecurityMenuRouter
Provides the SecurityMenuRouter Check.

Namespace

Drupal\site_audit\Plugin\SiteAuditCheck

Code

public function getAction() {
  if ($this->score == SiteAuditCheckBase::AUDIT_CHECK_SCORE_FAIL) {
    return $this
      ->t('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 <a href="https://www.drupal.org/project/hacked" target="_blank">Hacked!</a> module.');
  }
}