You are here

public function DecryptFieldForm::getCancelUrl in Field Encryption 3.0.x

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

Return value

\Drupal\Core\Url A URL object.

Overrides ConfirmFormInterface::getCancelUrl

1 call to DecryptFieldForm::getCancelUrl()
DecryptFieldForm::submitForm in src/Form/DecryptFieldForm.php
Form submission handler.

File

src/Form/DecryptFieldForm.php, line 83

Class

DecryptFieldForm
Confirmation form for removing encryption on field.

Namespace

Drupal\field_encrypt\Form

Code

public function getCancelUrl() {
  return new Url('field_encrypt.field_overview');
}