public VocabularyDeleteForm::getQuestion()
Returns the question to ask the user.
Return value
string The form question. The page title will be set to this value.
Overrides EntityDeleteFormTrait::getQuestion
File
- core/modules/taxonomy/src/Form/VocabularyDeleteForm.php, line 22
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())); }
Please login to continue.