You are here

public function DataPolicyRevisionRevertForm::getQuestion in Open Social 8.8

Same name and namespace in other branches
  1. 8.9 modules/custom/social_gdpr/src/Form/DataPolicyRevisionRevertForm.php \Drupal\social_gdpr\Form\DataPolicyRevisionRevertForm::getQuestion()
  2. 8.2 modules/custom/social_gdpr/src/Form/DataPolicyRevisionRevertForm.php \Drupal\social_gdpr\Form\DataPolicyRevisionRevertForm::getQuestion()
  3. 8.3 modules/custom/social_gdpr/src/Form/DataPolicyRevisionRevertForm.php \Drupal\social_gdpr\Form\DataPolicyRevisionRevertForm::getQuestion()
  4. 8.4 modules/custom/social_gdpr/src/Form/DataPolicyRevisionRevertForm.php \Drupal\social_gdpr\Form\DataPolicyRevisionRevertForm::getQuestion()
  5. 8.5 modules/custom/social_gdpr/src/Form/DataPolicyRevisionRevertForm.php \Drupal\social_gdpr\Form\DataPolicyRevisionRevertForm::getQuestion()
  6. 8.6 modules/custom/social_gdpr/src/Form/DataPolicyRevisionRevertForm.php \Drupal\social_gdpr\Form\DataPolicyRevisionRevertForm::getQuestion()
  7. 8.7 modules/custom/social_gdpr/src/Form/DataPolicyRevisionRevertForm.php \Drupal\social_gdpr\Form\DataPolicyRevisionRevertForm::getQuestion()
  8. 10.0.x modules/custom/social_gdpr/src/Form/DataPolicyRevisionRevertForm.php \Drupal\social_gdpr\Form\DataPolicyRevisionRevertForm::getQuestion()
  9. 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\Form

Code

public function getQuestion() {
  return $this
    ->t('Are you sure to revert this revision');
}