You are here

public function SiteAuditCheckExtensionsUnrecommended::getAction in Site Audit 7

Same name and namespace in other branches
  1. 8.2 Check/Extensions/Unrecommended.php \SiteAuditCheckExtensionsUnrecommended::getAction()

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

Overrides SiteAuditCheckAbstract::getAction

File

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

Class

SiteAuditCheckExtensionsUnrecommended
Class SiteAuditCheckExtensionsUnrecommended.

Code

public function getAction() {
  if ($this
    ->getScore() != SiteAuditCheckAbstract::AUDIT_CHECK_SCORE_PASS) {
    return dt('Disable and completely remove unrecommended modules from your codebase for increased performance, stability and security in the any environment.');
  }
}