protected function MicrositeMenuItemDeleteForm::getRedirectUrl in Entity Reference Hierarchy 8.2
Same name and namespace in other branches
- 3.x modules/entity_hierarchy_microsite/src/Form/MicrositeMenuItemDeleteForm.php \Drupal\entity_hierarchy_microsite\Form\MicrositeMenuItemDeleteForm::getRedirectUrl()
Returns the URL where the user should be redirected after deletion.
Return value
\Drupal\Core\Url The redirect URL.
Overrides EntityDeleteFormTrait::getRedirectUrl
File
- modules/
entity_hierarchy_microsite/ src/ Form/ MicrositeMenuItemDeleteForm.php, line 25
Class
- MicrositeMenuItemDeleteForm
- Provides a delete form for override menu links.
Namespace
Drupal\entity_hierarchy_microsite\FormCode
protected function getRedirectUrl() {
return $this
->getCancelUrl();
}