You are here

public function SiteAuditCheckBestPracticesPhpFilter::getAction in Site Audit 7

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

Overrides SiteAuditCheckAbstract::getAction

File

Check/BestPractices/PhpFilter.php, line 58
Contains \SiteAudit\Check\BestPractices\PhpFilter.

Class

SiteAuditCheckBestPracticesPhpFilter
Class SiteAuditCheckBestPracticesPhpFilter.

Code

public function getAction() {
  if ($this->score == SiteAuditCheckAbstract::AUDIT_CHECK_SCORE_FAIL) {
    return dt('Remove all executable code from your content and move it to your codebase.');
  }
}