From fc20eda5c4501824e9d1c533933ebe7070cb0eda Mon Sep 17 00:00:00 2001 From: Nathaniel Catchpole <catch@35733.no-reply.drupal.org> Date: Thu, 21 Jan 2016 16:34:03 +0900 Subject: [PATCH] Issue #2652556 by Pol: Remove duplicate lines in MenuForm.php --- core/modules/menu_ui/src/MenuForm.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/core/modules/menu_ui/src/MenuForm.php b/core/modules/menu_ui/src/MenuForm.php index 0932cdb052e8..dfbea9eed0d8 100644 --- a/core/modules/menu_ui/src/MenuForm.php +++ b/core/modules/menu_ui/src/MenuForm.php @@ -292,8 +292,6 @@ protected function buildOverviewForm(array &$form, FormStateInterface $form_stat $form['links'][$id]['#attributes'] = $element['#attributes']; $form['links'][$id]['#attributes']['class'][] = 'draggable'; - $form['links'][$id]['#item'] = $element['#item']; - // TableDrag: Sort the table row according to its existing/configured weight. $form['links'][$id]['#weight'] = $element['#item']->link->getWeight(); -- GitLab