You are here

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

RedirectDeleteForm

Namespace

Drupal\redirect\Form

Code

public function getCancelUrl() {
  return new Url('redirect.list');
}