function 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.