You are here

public function SiteAuditCheckContentContentEntityTypesUnused::getAction in Site Audit 8.2

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

Overrides SiteAuditCheckAbstract::getAction

File

Check/Content/ContentEntityTypesUnused.php, line 59
Contains \SiteAudit\Check\Content\ContentTypesUnused.

Class

SiteAuditCheckContentContentEntityTypesUnused
Class SiteAuditCheckContentContentEntityTypesUnused.

Code

public function getAction() {
  if ($this
    ->getScore() == SiteAuditCheckAbstract::AUDIT_CHECK_SCORE_WARN) {
    return dt('Consider removing unused content types.');
  }
}