You are here

public function RedirectDeleteMultipleForm::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/RedirectDeleteMultipleForm.php, line 96

Class

RedirectDeleteMultipleForm
Provides a redirect deletion confirmation form.

Namespace

Drupal\redirect\Form

Code

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