You are here

class DataPolicyRevisionRevertForm in Open Social 10.0.x

Same name and namespace in other branches
  1. 8.9 modules/custom/social_gdpr/src/Form/DataPolicyRevisionRevertForm.php \Drupal\social_gdpr\Form\DataPolicyRevisionRevertForm
  2. 8.2 modules/custom/social_gdpr/src/Form/DataPolicyRevisionRevertForm.php \Drupal\social_gdpr\Form\DataPolicyRevisionRevertForm
  3. 8.3 modules/custom/social_gdpr/src/Form/DataPolicyRevisionRevertForm.php \Drupal\social_gdpr\Form\DataPolicyRevisionRevertForm
  4. 8.4 modules/custom/social_gdpr/src/Form/DataPolicyRevisionRevertForm.php \Drupal\social_gdpr\Form\DataPolicyRevisionRevertForm
  5. 8.5 modules/custom/social_gdpr/src/Form/DataPolicyRevisionRevertForm.php \Drupal\social_gdpr\Form\DataPolicyRevisionRevertForm
  6. 8.6 modules/custom/social_gdpr/src/Form/DataPolicyRevisionRevertForm.php \Drupal\social_gdpr\Form\DataPolicyRevisionRevertForm
  7. 8.7 modules/custom/social_gdpr/src/Form/DataPolicyRevisionRevertForm.php \Drupal\social_gdpr\Form\DataPolicyRevisionRevertForm
  8. 8.8 modules/custom/social_gdpr/src/Form/DataPolicyRevisionRevertForm.php \Drupal\social_gdpr\Form\DataPolicyRevisionRevertForm
  9. 10.1.x modules/custom/social_gdpr/src/Form/DataPolicyRevisionRevertForm.php \Drupal\social_gdpr\Form\DataPolicyRevisionRevertForm

Provides a form for reverting a Data policy revision.

Hierarchy

Expanded class hierarchy of DataPolicyRevisionRevertForm

1 string reference to 'DataPolicyRevisionRevertForm'
social_gdpr.routing.yml in modules/custom/social_gdpr/social_gdpr.routing.yml
modules/custom/social_gdpr/social_gdpr.routing.yml

File

modules/custom/social_gdpr/src/Form/DataPolicyRevisionRevertForm.php, line 13

Namespace

Drupal\social_gdpr\Form
View source
class DataPolicyRevisionRevertForm extends DataPolicyRevisionRevertFormBase {

  /**
   * {@inheritdoc}
   */
  public function getCancelUrl() {
    return new Url('social_gdpr.data_policy.revisions');
  }

  /**
   * {@inheritdoc}
   */
  public function getConfirmText() {
    return $this
      ->t('Yes');
  }

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

}

Members