You are here

public function SiteAuditCheckBase::getId in Site Audit 8.3

Get the ID or machine name for the check.

Return value

string The ID or machine name for the check.

File

src/Plugin/SiteAuditCheckBase.php, line 144

Class

SiteAuditCheckBase
Base class for Site Audit Check plugins.

Namespace

Drupal\site_audit\Plugin

Code

public function getId() {
  return $this
    ->getPluginDefinition()['id'];
}