function FeedItemsDeleteForm::getCancelUrl
Returns the route to go to if the user cancels the action.
Return value
\Drupal\Core\Url A URL object.
Overrides ConfirmFormInterface::getCancelUrl
1 call to FeedItemsDeleteForm::getCancelUrl()
- FeedItemsDeleteForm::submitForm in core/
modules/ aggregator/ src/ Form/ FeedItemsDeleteForm.php
File
-
core/
modules/ aggregator/ src/ Form/ FeedItemsDeleteForm.php, line 26
Class
- FeedItemsDeleteForm
- Provides a deletion confirmation form for items that belong to a feed.
Namespace
Drupal\aggregator\FormCode
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.