You are here

public function NodeRevisionRevertDefaultForm::getFormId in Thunder 6.0.x

Same name and namespace in other branches
  1. 8.5 modules/thunder_article/src/Form/NodeRevisionRevertDefaultForm.php \Drupal\thunder_article\Form\NodeRevisionRevertDefaultForm::getFormId()
  2. 8.2 modules/thunder_article/src/Form/NodeRevisionRevertDefaultForm.php \Drupal\thunder_article\Form\NodeRevisionRevertDefaultForm::getFormId()
  3. 8.3 modules/thunder_article/src/Form/NodeRevisionRevertDefaultForm.php \Drupal\thunder_article\Form\NodeRevisionRevertDefaultForm::getFormId()
  4. 8.4 modules/thunder_article/src/Form/NodeRevisionRevertDefaultForm.php \Drupal\thunder_article\Form\NodeRevisionRevertDefaultForm::getFormId()
  5. 6.2.x modules/thunder_article/src/Form/NodeRevisionRevertDefaultForm.php \Drupal\thunder_article\Form\NodeRevisionRevertDefaultForm::getFormId()
  6. 6.1.x modules/thunder_article/src/Form/NodeRevisionRevertDefaultForm.php \Drupal\thunder_article\Form\NodeRevisionRevertDefaultForm::getFormId()

Returns a unique string identifying the form.

The returned ID should be a unique string that can be a valid PHP function name, since it's used in hook implementation names such as hook_form_FORM_ID_alter().

Return value

string The unique string identifying the form.

Overrides NodeRevisionRevertForm::getFormId

File

modules/thunder_article/src/Form/NodeRevisionRevertDefaultForm.php, line 21

Class

NodeRevisionRevertDefaultForm
Provides a form for reverting a node revision.

Namespace

Drupal\thunder_article\Form

Code

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