You are here

public function DataPolicyRevisionDeleteForm::getCancelUrl in Open Social 8.5

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

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

Return value

\Drupal\Core\Url A URL object.

Overrides DataPolicyRevisionDeleteForm::getCancelUrl

File

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

Class

DataPolicyRevisionDeleteForm
Provides a form for deleting a Data policy revision.

Namespace

Drupal\social_gdpr\Form

Code

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