You are here

public function SiteAuditCheckAbstract::renderAction in Site Audit 7

Same name and namespace in other branches
  1. 8.2 Check/Abstract.php \SiteAuditCheckAbstract::renderAction()

Display action items for a user to perform.

Return value

string Actionable tasks to perform, or nothing if check is opted-out.

File

Check/Abstract.php, line 224
Contains \SiteAudit\Check\Abstract.

Class

SiteAuditCheckAbstract
Class SiteAuditCheckAbstract.

Code

public function renderAction() {
  if ($this->optOut) {
    return '';
  }
  return $this
    ->getAction();
}