protected function MenuLinkContentDeleteForm::getRedirectUrl in Drupal 10
Same name and namespace in other branches
- 8 core/modules/menu_link_content/src/Form/MenuLinkContentDeleteForm.php \Drupal\menu_link_content\Form\MenuLinkContentDeleteForm::getRedirectUrl()
- 9 core/modules/menu_link_content/src/Form/MenuLinkContentDeleteForm.php \Drupal\menu_link_content\Form\MenuLinkContentDeleteForm::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/ menu_link_content/ src/ Form/ MenuLinkContentDeleteForm.php, line 28
Class
- MenuLinkContentDeleteForm
- Provides a delete form for content menu links.
Namespace
Drupal\menu_link_content\FormCode
protected function getRedirectUrl() {
return $this
->getCancelUrl();
}