You are here

public function ConsentAgreementRevisionRevertForm::getFormId in General Data Protection Regulation 8.2

Same name and namespace in other branches
  1. 8 modules/gdpr_consent/src/Form/ConsentAgreementRevisionRevertForm.php \Drupal\gdpr_consent\Form\ConsentAgreementRevisionRevertForm::getFormId()
  2. 3.0.x modules/gdpr_consent/src/Form/ConsentAgreementRevisionRevertForm.php \Drupal\gdpr_consent\Form\ConsentAgreementRevisionRevertForm::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

modules/gdpr_consent/src/Form/ConsentAgreementRevisionRevertForm.php, line 69

Class

ConsentAgreementRevisionRevertForm
Provides a form for reverting a Consent Agreement revision.

Namespace

Drupal\gdpr_consent\Form

Code

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