diff --git a/core/modules/shortcut/src/ShortcutInterface.php b/core/modules/shortcut/src/ShortcutInterface.php index 89420a2..90d90f9 100644 --- a/core/modules/shortcut/src/ShortcutInterface.php +++ b/core/modules/shortcut/src/ShortcutInterface.php @@ -98,12 +98,4 @@ public function getRouteParams(); */ public function setRouteParams($route_parameters); - /** - * Returns the Url object for the link this shortcut points to. - * - * @return \Drupal\Core\Url - * The Url object. - */ - public function getUrl(); - }