public function MergeTerms::titleCallback in Term Merge 8
Callback for the form title.
Plugin annotation
@SuppressWarnings(camelCase);
Parameters
\Drupal\taxonomy\VocabularyInterface $taxonomy_vocabulary: The vocabulary.
Return value
\Drupal\Core\StringTranslation\TranslatableMarkup The title.
1 string reference to 'MergeTerms::titleCallback'
File
- src/
Form/ MergeTerms.php, line 148
Class
- MergeTerms
- Term merge form.
Namespace
Drupal\term_merge\FormCode
public function titleCallback(VocabularyInterface $taxonomy_vocabulary) {
return $this
->t('Merge %vocabulary terms', [
'%vocabulary' => $taxonomy_vocabulary
->label(),
]);
}