public function SiteAuditCheckContentContentTypesUnused::getAction in Site Audit 7
Implements \SiteAudit\Check\Abstract\getAction().
Overrides SiteAuditCheckAbstract::getAction
File
- Check/
Content/ ContentTypesUnused.php, line 55 - Contains \SiteAudit\Check\Content\ContentTypesUnused.
Class
- SiteAuditCheckContentContentTypesUnused
- Class SiteAuditCheckContentContentTypesUnused.
Code
public function getAction() {
if ($this
->getScore() == SiteAuditCheckAbstract::AUDIT_CHECK_SCORE_WARN) {
return dt('Consider removing unused content types.');
}
}