function NodeRevisionRevertForm::getFormId

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

Overrides FormInterface::getFormId

1 method overrides NodeRevisionRevertForm::getFormId()
NodeRevisionRevertTranslationForm::getFormId in core/modules/node/src/Form/NodeRevisionRevertTranslationForm.php
Returns a unique string identifying the form.

File

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

Class

NodeRevisionRevertForm
Provides a form for reverting a node revision.

Namespace

Drupal\node\Form

Code

public function getFormId() {
    return 'node_revision_revert_confirm';
}

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