You are here

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'
term_merge.routing.yml in ./term_merge.routing.yml
term_merge.routing.yml

File

src/Form/MergeTerms.php, line 148

Class

MergeTerms
Term merge form.

Namespace

Drupal\term_merge\Form

Code

public function titleCallback(VocabularyInterface $taxonomy_vocabulary) {
  return $this
    ->t('Merge %vocabulary terms', [
    '%vocabulary' => $taxonomy_vocabulary
      ->label(),
  ]);
}