You are here

public function GdprFieldSettingsDeleteForm::getCancelUrl in General Data Protection Regulation 8

Same name and namespace in other branches
  1. 8.2 modules/gdpr_fields/src/Form/GdprFieldSettingsDeleteForm.php \Drupal\gdpr_fields\Form\GdprFieldSettingsDeleteForm::getCancelUrl()
  2. 3.0.x modules/gdpr_fields/src/Form/GdprFieldSettingsDeleteForm.php \Drupal\gdpr_fields\Form\GdprFieldSettingsDeleteForm::getCancelUrl()

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

Return value

\Drupal\Core\Url A URL object.

Overrides ConfirmFormInterface::getCancelUrl

File

modules/gdpr_fields/src/Form/GdprFieldSettingsDeleteForm.php, line 23

Class

GdprFieldSettingsDeleteForm
Delete confirmation form for GDPR field settings.

Namespace

Drupal\gdpr_fields\Form

Code

public function getCancelUrl() {
  return new Url('gdpr_fields.fields_list');
}