You are here

public function VocabularyDeleteForm::getQuestion in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/taxonomy/src/Form/VocabularyDeleteForm.php \Drupal\taxonomy\Form\VocabularyDeleteForm::getQuestion()

Overrides EntityDeleteFormTrait::getQuestion

File

core/modules/taxonomy/src/Form/VocabularyDeleteForm.php, line 27
Contains \Drupal\taxonomy\Form\VocabularyDeleteForm.

Class

VocabularyDeleteForm
Provides a deletion confirmation form for taxonomy vocabulary.

Namespace

Drupal\taxonomy\Form

Code

public function getQuestion() {
  return $this
    ->t('Are you sure you want to delete the vocabulary %title?', array(
    '%title' => $this->entity
      ->label(),
  ));
}