function ConfirmDeleteMultiple::getCancelUrl

Same name in other branches
  1. 9 core/modules/comment/src/Form/ConfirmDeleteMultiple.php \Drupal\comment\Form\ConfirmDeleteMultiple::getCancelUrl()
  2. 8.9.x core/modules/comment/src/Form/ConfirmDeleteMultiple.php \Drupal\comment\Form\ConfirmDeleteMultiple::getCancelUrl()
  3. 10 core/modules/comment/src/Form/ConfirmDeleteMultiple.php \Drupal\comment\Form\ConfirmDeleteMultiple::getCancelUrl()

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');
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.