You are here

protected function DeleteForm::getRedirectUrl in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/comment/src/Form/DeleteForm.php \Drupal\comment\Form\DeleteForm::getRedirectUrl()

Returns the URL where the user should be redirected after deletion.

Return value

\Drupal\Core\Url The redirect URL.

Overrides EntityDeleteFormTrait::getRedirectUrl

File

core/modules/comment/src/Form/DeleteForm.php, line 28
Contains \Drupal\comment\Form\DeleteForm.

Class

DeleteForm
Provides the comment delete confirmation form.

Namespace

Drupal\comment\Form

Code

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