public function SiteAuditCheckContentVocabulariesUnused::getAction in Site Audit 7
Same name and namespace in other branches
- 8.2 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.');
}
}