You are here

public function ConfirmDeleteMultiple::getCancelUrl in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/comment/src/Form/ConfirmDeleteMultiple.php \Drupal\comment\Form\ConfirmDeleteMultiple::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 ConfirmDeleteMultiple::getCancelUrl()
ConfirmDeleteMultiple::submitForm in core/modules/comment/src/Form/ConfirmDeleteMultiple.php
Form submission handler.

File

core/modules/comment/src/Form/ConfirmDeleteMultiple.php, line 72
Contains \Drupal\comment\Form\ConfirmDeleteMultiple.

Class

ConfirmDeleteMultiple
Provides the comment multiple delete confirmation form.

Namespace

Drupal\comment\Form

Code

public function getCancelUrl() {
  return new Url('comment.admin');
}