You are here

public function ConfirmDeleteMultiple::getCancelUrl in Drupal 8

Same name and namespace in other branches
  1. 9 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 DeleteMultipleForm::getCancelUrl

File

core/modules/comment/src/Form/ConfirmDeleteMultiple.php, line 25

Class

ConfirmDeleteMultiple
Provides the comment multiple delete confirmation form.

Namespace

Drupal\comment\Form

Code

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