You are here

public function BrokenLinkDeleteMultipleForm::getCancelUrl in Broken Link 8.3

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/BrokenLinkDeleteMultipleForm.php, line 79

Class

BrokenLinkDeleteMultipleForm
Provides a brokenLink deletion confirmation form.

Namespace

Drupal\broken_link\Form

Code

public function getCancelUrl() {
  return new Url('entity.broken_link.collection');
}