Mercurial > hg > cmmr2012-drupal-site
comparison core/modules/views_ui/src/ViewFormBase.php @ 5:12f9dff5fda9 tip
Update to Drupal core 8.7.1
author | Chris Cannam |
---|---|
date | Thu, 09 May 2019 15:34:47 +0100 |
parents | c75dbcec494b |
children |
comparison
equal
deleted
inserted
replaced
4:a9cd425dd02b | 5:12f9dff5fda9 |
---|---|
103 '#theme' => 'menu_local_task', | 103 '#theme' => 'menu_local_task', |
104 '#weight' => $display['position'], | 104 '#weight' => $display['position'], |
105 '#link' => [ | 105 '#link' => [ |
106 'title' => $this->getDisplayLabel($view, $id), | 106 'title' => $this->getDisplayLabel($view, $id), |
107 'localized_options' => [], | 107 'localized_options' => [], |
108 'url' => $view->urlInfo('edit-display-form')->setRouteParameter('display_id', $id), | 108 'url' => $view->toUrl('edit-display-form')->setRouteParameter('display_id', $id), |
109 ], | 109 ], |
110 ]; | 110 ]; |
111 if (!empty($display['deleted'])) { | 111 if (!empty($display['deleted'])) { |
112 $tabs[$id]['#link']['localized_options']['attributes']['class'][] = 'views-display-deleted-link'; | 112 $tabs[$id]['#link']['localized_options']['attributes']['class'][] = 'views-display-deleted-link'; |
113 } | 113 } |