public function PollItemsDeleteForm::getCancelUrl in Poll 8
Returns the route to go to if the user cancels the action.
Return value
\Drupal\Core\Url A URL object.
Overrides ConfirmFormInterface::getCancelUrl
File
- src/
Form/ PollItemsDeleteForm.php, line 24
Class
- PollItemsDeleteForm
- Provides a deletion confirmation form for items that belong to a feed.
Namespace
Drupal\poll\FormCode
public function getCancelUrl() {
return new Url('poll.poll_list');
}