public function TaxonomyMenuDeleteForm::getQuestion in Zircon Profile 8
Same name and namespace in other branches
- 8.0 modules/taxonomy_menu/src/Form/TaxonomyMenuDeleteForm.php \Drupal\taxonomy_menu\Form\TaxonomyMenuDeleteForm::getQuestion()
Returns the question to ask the user.
Return value
string The form question. The page title will be set to this value.
Overrides ConfirmFormInterface::getQuestion
File
- modules/
taxonomy_menu/ src/ Form/ TaxonomyMenuDeleteForm.php, line 21 - Contains Drupal\taxonomy_menu\Form\TaxonomyMenuDeleteForm.
Class
- TaxonomyMenuDeleteForm
- Builds the form to delete a TaxonomyMenu.
Namespace
Drupal\taxonomy_menu\FormCode
public function getQuestion() {
return $this
->t('Are you sure you want to delete %name?', array(
'%name' => $this->entity
->label(),
));
}