function NodeRevisionRevertForm::getConfirmText

Same name in other branches
  1. 9 core/modules/node/src/Form/NodeRevisionRevertForm.php \Drupal\node\Form\NodeRevisionRevertForm::getConfirmText()
  2. 10 core/modules/node/src/Form/NodeRevisionRevertForm.php \Drupal\node\Form\NodeRevisionRevertForm::getConfirmText()
  3. 11.x core/modules/node/src/Form/NodeRevisionRevertForm.php \Drupal\node\Form\NodeRevisionRevertForm::getConfirmText()

Overrides ConfirmFormBase::getConfirmText

File

core/modules/node/src/Form/NodeRevisionRevertForm.php, line 100

Class

NodeRevisionRevertForm
Provides a form for reverting a node revision.

Namespace

Drupal\node\Form

Code

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

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.