public function FeedDeleteForm::getCancelUrl in Drupal 8
Same name and namespace in other branches
- 9 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 18
Class
- FeedDeleteForm
- Provides a form for deleting a feed.
Namespace
Drupal\aggregator\FormCode
public function getCancelUrl() {
return new Url('aggregator.admin_overview');
}