function FeedDeleteForm::getCancelUrl

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

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 18

Class

FeedDeleteForm
Provides a form for deleting a feed.

Namespace

Drupal\aggregator\Form

Code

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

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.