public function FieldEncryptDecryptForm::getCancelUrl in Field Encryption 8.2
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 FieldEncryptDecryptForm::getCancelUrl()
- FieldEncryptDecryptForm::submitForm in src/
Form/ FieldEncryptDecryptForm.php - Form submission handler.
File
- src/
Form/ FieldEncryptDecryptForm.php, line 73
Class
- FieldEncryptDecryptForm
- Confirmation form for removing encryption on field.
Namespace
Drupal\field_encrypt\FormCode
public function getCancelUrl() {
return new Url('field_encrypt.field_overview');
}