You are here

public function NodeRevisionDeleteForm::getConfirmText in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/node/src/Form/NodeRevisionDeleteForm.php \Drupal\node\Form\NodeRevisionDeleteForm::getConfirmText()

Returns a caption for the button that confirms the action.

Return value

string The form confirmation text.

Overrides ConfirmFormBase::getConfirmText

File

core/modules/node/src/Form/NodeRevisionDeleteForm.php, line 102
Contains \Drupal\node\Form\NodeRevisionDeleteForm.

Class

NodeRevisionDeleteForm
Provides a form for reverting a node revision.

Namespace

Drupal\node\Form

Code

public function getConfirmText() {
  return t('Delete');
}