You are here

public function ContentVocabulariesUnused::getResultWarn in Site Audit 8.3

.

Overrides SiteAuditCheckBase::getResultWarn

File

src/Plugin/SiteAuditCheck/ContentVocabulariesUnused.php, line 40

Class

ContentVocabulariesUnused
Provides the ContentVocabulariesUnused Check.

Namespace

Drupal\site_audit\Plugin\SiteAuditCheck

Code

public function getResultWarn() {
  return $this
    ->t('The following vocabularies are unused: @vocabularies_unused', [
    '@vocabularies_unused' => implode(', ', $this->registry->vocabulary_unused),
  ]);
}