function DeleteForm::getRedirectUrl

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

Overrides EntityDeleteFormTrait::getRedirectUrl

File

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

Class

DeleteForm
Provides the comment delete confirmation form.

Namespace

Drupal\comment\Form

Code

protected function getRedirectUrl() {
    return $this->getCancelUrl();
}

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