You are here

public function SiteAuditCheckExtensionsDisabled::getAction in Site Audit 7

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

Overrides SiteAuditCheckAbstract::getAction

File

Check/Extensions/Disabled.php, line 55
Contains \SiteAudit\Check\Extensions\Disabled.

Class

SiteAuditCheckExtensionsDisabled
Class SiteAuditCheckExtensionsDisabled.

Code

public function getAction() {
  if ($this->score != SiteAuditCheckAbstract::AUDIT_CHECK_SCORE_PASS) {
    return dt('Uninstall unused modules; if not in core, remove them from the codebase after uninstalling.');
  }
}