public function NodeRevisionDeleteForm::getConfirmText in Drupal 8
Same name and namespace in other branches
- 9 core/modules/node/src/Form/NodeRevisionDeleteForm.php \Drupal\node\Form\NodeRevisionDeleteForm::getConfirmText()
Returns a caption for the button that confirms the action.
Return value
\Drupal\Core\StringTranslation\TranslatableMarkup The form confirmation text.
Overrides ConfirmFormBase::getConfirmText
File
- core/
modules/ node/ src/ Form/ NodeRevisionDeleteForm.php, line 113
Class
- NodeRevisionDeleteForm
- Provides a form for deleting a node revision.
Namespace
Drupal\node\FormCode
public function getConfirmText() {
return t('Delete');
}