You are here

public function DataPolicyRevisionRevertForm::getCancelUrl in Open Social 8.9

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

Returns the route to go to if the user cancels the action.

Return value

\Drupal\Core\Url A URL object.

Overrides DataPolicyRevisionRevertForm::getCancelUrl

File

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

Class

DataPolicyRevisionRevertForm
Provides a form for reverting a Data policy revision.

Namespace

Drupal\social_gdpr\Form

Code

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