You are here

public function FeedDeleteForm::getCancelUrl in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/aggregator/src/Form/FeedDeleteForm.php \Drupal\aggregator\Form\FeedDeleteForm::getCancelUrl()

Returns the route to go to if the user cancels the action.

Return value

\Drupal\Core\Url A URL object.

Overrides ContentEntityDeleteForm::getCancelUrl

1 call to FeedDeleteForm::getCancelUrl()
FeedDeleteForm::getRedirectUrl in core/modules/aggregator/src/Form/FeedDeleteForm.php
Returns the URL where the user should be redirected after deletion.

File

core/modules/aggregator/src/Form/FeedDeleteForm.php, line 21
Contains \Drupal\aggregator\Form\FeedDeleteForm.

Class

FeedDeleteForm
Provides a form for deleting a feed.

Namespace

Drupal\aggregator\Form

Code

public function getCancelUrl() {
  return new Url('aggregator.admin_overview');
}