You are here

public function SiteAuditCheckExtensionsRedundant::getAction in Site Audit 7

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

Overrides SiteAuditCheckAbstract::getAction

File

Check/Extensions/Redundant.php, line 78
Contains \SiteAudit\Check\Extensions\Redundant.

Class

SiteAuditCheckExtensionsRedundant
Class SiteAuditCheckExtensionsRedundant.

Code

public function getAction() {
  if ($this
    ->getScore() != SiteAuditCheckAbstract::AUDIT_CHECK_SCORE_PASS) {
    return dt('Standardize on the recommended module and remove the redundant module(s) from your codebase.');
  }
}