public function SiteAuditCheckContentVocabulariesUnused::getAction in Site Audit 8.2
Same name and namespace in other branches
- 7 Check/Content/VocabulariesUnused.php \SiteAuditCheckContentVocabulariesUnused::getAction()
Implements \SiteAudit\Check\Abstract\getAction().
Overrides SiteAuditCheckAbstract::getAction
File
- Check/
Content/ VocabulariesUnused.php, line 55 - Contains \SiteAudit\Check\Content\ContentVocabulariesUnused.
Class
- SiteAuditCheckContentVocabulariesUnused
- Class SiteAuditCheckContentVocabulariesUnused.
Code
public function getAction() {
if ($this
->getScore() == SiteAuditCheckAbstract::AUDIT_CHECK_SCORE_WARN) {
return dt('Consider removing unused vocabularies.');
}
}