public function RedirectDeleteForm::getCancelUrl in Redirect 8
Returns the route to go to if the user cancels the action.
Return value
\Drupal\Core\Url A URL object.
Overrides ConfirmFormInterface::getCancelUrl
File
- src/
Form/ RedirectDeleteForm.php, line 21
Class
Namespace
Drupal\redirect\FormCode
public function getCancelUrl() {
return new Url('redirect.list');
}