public function WorkflowDeleteForm::getConfirmText in Drupal 8
Same name and namespace in other branches
- 9 core/modules/workflows/src/Form/WorkflowDeleteForm.php \Drupal\workflows\Form\WorkflowDeleteForm::getConfirmText()
Returns a caption for the button that confirms the action.
Return value
\Drupal\Core\StringTranslation\TranslatableMarkup The form confirmation text.
Overrides EntityConfirmFormBase::getConfirmText
File
- core/
modules/ workflows/ src/ Form/ WorkflowDeleteForm.php, line 46
Class
- WorkflowDeleteForm
- Builds the form to delete Workflow entities.
Namespace
Drupal\workflows\FormCode
public function getConfirmText() {
return $this
->t('Delete');
}