public function DataPolicyRevisionRevertForm::getConfirmText in Open Social 8.5
Same name and namespace in other branches
- 8.9 modules/custom/social_gdpr/src/Form/DataPolicyRevisionRevertForm.php \Drupal\social_gdpr\Form\DataPolicyRevisionRevertForm::getConfirmText()
- 8.2 modules/custom/social_gdpr/src/Form/DataPolicyRevisionRevertForm.php \Drupal\social_gdpr\Form\DataPolicyRevisionRevertForm::getConfirmText()
- 8.3 modules/custom/social_gdpr/src/Form/DataPolicyRevisionRevertForm.php \Drupal\social_gdpr\Form\DataPolicyRevisionRevertForm::getConfirmText()
- 8.4 modules/custom/social_gdpr/src/Form/DataPolicyRevisionRevertForm.php \Drupal\social_gdpr\Form\DataPolicyRevisionRevertForm::getConfirmText()
- 8.6 modules/custom/social_gdpr/src/Form/DataPolicyRevisionRevertForm.php \Drupal\social_gdpr\Form\DataPolicyRevisionRevertForm::getConfirmText()
- 8.7 modules/custom/social_gdpr/src/Form/DataPolicyRevisionRevertForm.php \Drupal\social_gdpr\Form\DataPolicyRevisionRevertForm::getConfirmText()
- 8.8 modules/custom/social_gdpr/src/Form/DataPolicyRevisionRevertForm.php \Drupal\social_gdpr\Form\DataPolicyRevisionRevertForm::getConfirmText()
- 10.0.x modules/custom/social_gdpr/src/Form/DataPolicyRevisionRevertForm.php \Drupal\social_gdpr\Form\DataPolicyRevisionRevertForm::getConfirmText()
- 10.1.x modules/custom/social_gdpr/src/Form/DataPolicyRevisionRevertForm.php \Drupal\social_gdpr\Form\DataPolicyRevisionRevertForm::getConfirmText()
Returns a caption for the button that confirms the action.
Return value
\Drupal\Core\StringTranslation\TranslatableMarkup The form confirmation text.
Overrides DataPolicyRevisionRevertForm::getConfirmText
File
- modules/
custom/ social_gdpr/ src/ Form/ DataPolicyRevisionRevertForm.php, line 25
Class
- DataPolicyRevisionRevertForm
- Provides a form for reverting a Data policy revision.
Namespace
Drupal\social_gdpr\FormCode
public function getConfirmText() {
return $this
->t('Yes');
}