You are here

public function SimpleMegaMenuRevisionRevertForm::getFormId in Simple Mega Menu 8

Same name and namespace in other branches
  1. 2.0.x src/Form/SimpleMegaMenuRevisionRevertForm.php \Drupal\simple_megamenu\Form\SimpleMegaMenuRevisionRevertForm::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 FormInterface::getFormId

1 method overrides SimpleMegaMenuRevisionRevertForm::getFormId()
SimpleMegaMenuRevisionRevertTranslationForm::getFormId in src/Form/SimpleMegaMenuRevisionRevertTranslationForm.php
Returns a unique string identifying the form.

File

src/Form/SimpleMegaMenuRevisionRevertForm.php, line 79

Class

SimpleMegaMenuRevisionRevertForm
Provides a form for reverting a Simple mega menu revision.

Namespace

Drupal\simple_megamenu\Form

Code

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