public function NodeRevisionDeleteForm::getConfirmText in Drupal 9
Same name and namespace in other branches
- 8 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 114
Class
- NodeRevisionDeleteForm
- Provides a form for deleting a node revision.
Namespace
Drupal\node\FormCode
public function getConfirmText() {
return $this
->t('Delete');
}