function WorkflowDeleteForm::getQuestion
Same name in other branches
- 9 core/modules/workflows/src/Form/WorkflowDeleteForm.php \Drupal\workflows\Form\WorkflowDeleteForm::getQuestion()
- 8.9.x core/modules/workflows/src/Form/WorkflowDeleteForm.php \Drupal\workflows\Form\WorkflowDeleteForm::getQuestion()
- 10 core/modules/workflows/src/Form/WorkflowDeleteForm.php \Drupal\workflows\Form\WorkflowDeleteForm::getQuestion()
Overrides ConfirmFormInterface::getQuestion
1 call to WorkflowDeleteForm::getQuestion()
- WorkflowDeleteForm::buildForm in core/
modules/ workflows/ src/ Form/ WorkflowDeleteForm.php - Form constructor.
File
-
core/
modules/ workflows/ src/ Form/ WorkflowDeleteForm.php, line 32
Class
- WorkflowDeleteForm
- Builds the form to delete Workflow entities.
Namespace
Drupal\workflows\FormCode
public function getQuestion() {
return $this->t('Are you sure you want to delete %name?', [
'%name' => $this->entity
->label(),
]);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.