diff --git a/core/modules/menu_link/lib/Drupal/menu_link/Entity/MenuLink.php b/core/modules/menu_link/lib/Drupal/menu_link/Entity/MenuLink.php index 1a10efec64a0e50953915af7a6a63eee66f442ae..eb3466189c6d7237834f83aa58562d41fc47b627 100644 --- a/core/modules/menu_link/lib/Drupal/menu_link/Entity/MenuLink.php +++ b/core/modules/menu_link/lib/Drupal/menu_link/Entity/MenuLink.php @@ -532,7 +532,7 @@ public function preSave(EntityStorageControllerInterface $storage_controller) { // Need to check both plid and menu_name, since plid can be 0 in any menu. if (isset($this->original) && ($this->plid != $this->original->plid || $this->menu_name != $this->original->menu_name)) { - $storage_controller->moveChildren($this, $this->original); + $storage_controller->moveChildren($this); } // Find the router_path. if (empty($this->router_path) || empty($this->original) || (isset($this->original) && $this->original->link_path != $this->link_path)) {