You are here

public function DeleteFeedForm::getCancelUrl in Feed Import 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/DeleteFeedForm.php, line 43
Contains \Drupal\feed_import\Form\DeleteFeedForm

Class

DeleteFeedForm
Builds the form to delete a feed.

Namespace

Drupal\feed_import\Form

Code

public function getCancelUrl() {
  return new Url('feed_import.admin');
}