public function FormsStepsStepDeleteForm::getConfirmText in Forms Steps 8
Returns a caption for the button that confirms the action.
Return value
\Drupal\Core\StringTranslation\TranslatableMarkup The form confirmation text.
Overrides ConfirmFormBase::getConfirmText
File
- src/
Form/ FormsStepsStepDeleteForm.php, line 57
Class
- FormsStepsStepDeleteForm
- Builds the form to delete steps from FormsSteps entities.
Namespace
Drupal\forms_steps\FormCode
public function getConfirmText() {
return $this
->t('Delete');
}