You are here

public function SiteAuditCheckBase::renderAction in Site Audit 8.3

Display action items for a user to perform.

Return value

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

File

src/Plugin/SiteAuditCheckBase.php, line 214

Class

SiteAuditCheckBase
Base class for Site Audit Check plugins.

Namespace

Drupal\site_audit\Plugin

Code

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