public function UpdateEncryptionProfileForm::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 UpdateEncryptionProfileForm::getCancelUrl()
- UpdateEncryptionProfileForm::submitForm in src/
Form/ UpdateEncryptionProfileForm.php - Form submission handler.
File
- src/
Form/ UpdateEncryptionProfileForm.php, line 97
Class
- UpdateEncryptionProfileForm
- Confirmation form for updating encryption on an entity.
Namespace
Drupal\field_encrypt\FormCode
public function getCancelUrl() {
return new Url('field_encrypt.settings.entity_type');
}