function 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 25
Class
- DeleteForm
- Provides the comment delete confirmation form.
Namespace
Drupal\comment\FormCode
protected function getRedirectUrl() {
return $this->getCancelUrl();
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.