You are here

protected function ConsentAgreementForm::showRevisionUi in General Data Protection Regulation 8

Same name and namespace in other branches
  1. 8.2 modules/gdpr_consent/src/Form/ConsentAgreementForm.php \Drupal\gdpr_consent\Form\ConsentAgreementForm::showRevisionUi()
  2. 3.0.x modules/gdpr_consent/src/Form/ConsentAgreementForm.php \Drupal\gdpr_consent\Form\ConsentAgreementForm::showRevisionUi()

Checks whether the revision form fields should be added to the form.

Return value

bool TRUE if the form field should be added, FALSE otherwise.

Overrides ContentEntityForm::showRevisionUi

File

modules/gdpr_consent/src/Form/ConsentAgreementForm.php, line 115

Class

ConsentAgreementForm
Form controller for Consent Agreement edit forms.

Namespace

Drupal\gdpr_consent\Form

Code

protected function showRevisionUi() {
  return FALSE;
}