public function YamlFormHandlerDeleteForm::getConfirmText in YAML Form 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/ YamlFormHandlerDeleteForm.php, line 38
Class
- YamlFormHandlerDeleteForm
- Form for deleting a form handler.
Namespace
Drupal\yamlform\FormCode
public function getConfirmText() {
return $this
->t('Delete');
}