public function ConsentAgreementRevisionRevertForm::getConfirmText in General Data Protection Regulation 8.2
Same name and namespace in other branches
- 8 modules/gdpr_consent/src/Form/ConsentAgreementRevisionRevertForm.php \Drupal\gdpr_consent\Form\ConsentAgreementRevisionRevertForm::getConfirmText()
- 3.0.x modules/gdpr_consent/src/Form/ConsentAgreementRevisionRevertForm.php \Drupal\gdpr_consent\Form\ConsentAgreementRevisionRevertForm::getConfirmText()
Returns a caption for the button that confirms the action.
Return value
\Drupal\Core\StringTranslation\TranslatableMarkup The form confirmation text.
Overrides ConfirmFormBase::getConfirmText
File
- modules/
gdpr_consent/ src/ Form/ ConsentAgreementRevisionRevertForm.php, line 90
Class
- ConsentAgreementRevisionRevertForm
- Provides a form for reverting a Consent Agreement revision.
Namespace
Drupal\gdpr_consent\FormCode
public function getConfirmText() {
return $this
->t('Revert');
}