diff --git a/core/modules/menu_link_content/src/Form/MenuLinkContentDeleteForm.php b/core/modules/menu_link_content/src/Form/MenuLinkContentDeleteForm.php index 5b39bb7..4951cfb 100644 --- a/core/modules/menu_link_content/src/Form/MenuLinkContentDeleteForm.php +++ b/core/modules/menu_link_content/src/Form/MenuLinkContentDeleteForm.php @@ -58,7 +58,7 @@ public function getQuestion() { /** * {@inheritdoc} */ - public function getCancelRoute() { + public function getCancelUrl() { return new Url('menu_ui.menu_edit', array('menu' => $this->entity->getMenuName())); }