public function VocabularyDeleteForm::getQuestion in Drupal 8
Same name and namespace in other branches
- 9 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\FormCode
public function getQuestion() {
return $this
->t('Are you sure you want to delete the vocabulary %title?', [
'%title' => $this->entity
->label(),
]);
}