public function DeleteForm::getCancelUrl in Mail Safety 8
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 DeleteForm::getCancelUrl()
- DeleteForm::submitForm in src/
Form/ DeleteForm.php - Form submission handler.
File
- src/
Form/ DeleteForm.php, line 41
Class
- DeleteForm
- Class DeleteForm.
Namespace
Drupal\mail_safety\FormCode
public function getCancelUrl() {
return new Url('mail_safety.dashboard');
}