DeleteForm::getRedirectUrl

protected 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 23

Class

DeleteForm
Provides the comment delete confirmation form.

Namespace

Drupal\comment\Form

Code

protected function getRedirectUrl() {
  return $this->getCancelUrl();
}
doc_Drupal
2016-10-29 09:02:09
Comments
Leave a Comment

Please login to continue.