You are here

public function TaxonomyManagerForm::getTitle in Taxonomy Manager 8

Same name and namespace in other branches
  1. 2.0.x src/Form/TaxonomyManagerForm.php \Drupal\taxonomy_manager\Form\TaxonomyManagerForm::getTitle()

Returns the title for the whole page.

Parameters

string $taxonomy_vocabulary: The name of the vocabulary.

Return value

string The title, itself

1 string reference to 'TaxonomyManagerForm::getTitle'
taxonomy_manager.routing.yml in ./taxonomy_manager.routing.yml
taxonomy_manager.routing.yml

File

src/Form/TaxonomyManagerForm.php, line 135

Class

TaxonomyManagerForm
Taxonomy manager class.

Namespace

Drupal\taxonomy_manager\Form

Code

public function getTitle($taxonomy_vocabulary) {
  return $this
    ->t("Taxonomy Manager - %voc_name", [
    "%voc_name" => $taxonomy_vocabulary
      ->label(),
  ]);
}