public function WorkflowDeleteForm::getQuestion in Drupal 10
Same name and namespace in other branches
- 8 core/modules/workflows/src/Form/WorkflowDeleteForm.php \Drupal\workflows\Form\WorkflowDeleteForm::getQuestion()
- 9 core/modules/workflows/src/Form/WorkflowDeleteForm.php \Drupal\workflows\Form\WorkflowDeleteForm::getQuestion()
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(),
]);
}