public function ConfigEntityRevisionsRevertFormBase::getFormId in Config Entity Revisions 1.x
Same name and namespace in other branches
- 8.2 src/ConfigEntityRevisionsRevertFormBase.php \Drupal\config_entity_revisions\ConfigEntityRevisionsRevertFormBase::getFormId()
- 8 src/ConfigEntityRevisionsRevertFormBase.php \Drupal\config_entity_revisions\ConfigEntityRevisionsRevertFormBase::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
File
- src/
ConfigEntityRevisionsRevertFormBase.php, line 132
Class
- ConfigEntityRevisionsRevertFormBase
- Provides a form for reverting / publishing a revision.
Namespace
Drupal\config_entity_revisionsCode
public function getFormId() {
return $this->config_entity
->module_name() . '_revision_revert_confirm';
}