public function DataPolicyRevisionRevertForm::getQuestion in Open Social 8.8
Same name and namespace in other branches
- 8.9 modules/custom/social_gdpr/src/Form/DataPolicyRevisionRevertForm.php \Drupal\social_gdpr\Form\DataPolicyRevisionRevertForm::getQuestion()
- 8.2 modules/custom/social_gdpr/src/Form/DataPolicyRevisionRevertForm.php \Drupal\social_gdpr\Form\DataPolicyRevisionRevertForm::getQuestion()
- 8.3 modules/custom/social_gdpr/src/Form/DataPolicyRevisionRevertForm.php \Drupal\social_gdpr\Form\DataPolicyRevisionRevertForm::getQuestion()
- 8.4 modules/custom/social_gdpr/src/Form/DataPolicyRevisionRevertForm.php \Drupal\social_gdpr\Form\DataPolicyRevisionRevertForm::getQuestion()
- 8.5 modules/custom/social_gdpr/src/Form/DataPolicyRevisionRevertForm.php \Drupal\social_gdpr\Form\DataPolicyRevisionRevertForm::getQuestion()
- 8.6 modules/custom/social_gdpr/src/Form/DataPolicyRevisionRevertForm.php \Drupal\social_gdpr\Form\DataPolicyRevisionRevertForm::getQuestion()
- 8.7 modules/custom/social_gdpr/src/Form/DataPolicyRevisionRevertForm.php \Drupal\social_gdpr\Form\DataPolicyRevisionRevertForm::getQuestion()
- 10.0.x modules/custom/social_gdpr/src/Form/DataPolicyRevisionRevertForm.php \Drupal\social_gdpr\Form\DataPolicyRevisionRevertForm::getQuestion()
- 10.1.x modules/custom/social_gdpr/src/Form/DataPolicyRevisionRevertForm.php \Drupal\social_gdpr\Form\DataPolicyRevisionRevertForm::getQuestion()
Returns the question to ask the user.
Return value
\Drupal\Core\StringTranslation\TranslatableMarkup The form question. The page title will be set to this value.
Overrides DataPolicyRevisionRevertForm::getQuestion
File
- modules/
custom/ social_gdpr/ src/ Form/ DataPolicyRevisionRevertForm.php, line 32
Class
- DataPolicyRevisionRevertForm
- Provides a form for reverting a Data policy revision.
Namespace
Drupal\social_gdpr\FormCode
public function getQuestion() {
return $this
->t('Are you sure to revert this revision');
}