function VocabularyDeleteForm::getQuestion

Same name in other branches
  1. 9 core/modules/taxonomy/src/Form/VocabularyDeleteForm.php \Drupal\taxonomy\Form\VocabularyDeleteForm::getQuestion()
  2. 8.9.x core/modules/taxonomy/src/Form/VocabularyDeleteForm.php \Drupal\taxonomy\Form\VocabularyDeleteForm::getQuestion()
  3. 10 core/modules/taxonomy/src/Form/VocabularyDeleteForm.php \Drupal\taxonomy\Form\VocabularyDeleteForm::getQuestion()

Overrides EntityDeleteFormTrait::getQuestion

File

core/modules/taxonomy/src/Form/VocabularyDeleteForm.php, line 24

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?', [
        '%title' => $this->entity
            ->label(),
    ]);
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.