function FeedDeleteForm::getRedirectUrl

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

Returns the URL where the user should be redirected after deletion.

Return value

\Drupal\Core\Url The redirect URL.

Overrides EntityDeleteFormTrait::getRedirectUrl

File

core/modules/aggregator/src/Form/FeedDeleteForm.php, line 25

Class

FeedDeleteForm
Provides a form for deleting a feed.

Namespace

Drupal\aggregator\Form

Code

protected function getRedirectUrl() {
  return $this->getCancelUrl();
}

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