comparison core/modules/views_ui/src/ViewFormBase.php @ 18:af1871eacc83

Update to Drupal core 8.7.1
author Chris Cannam
date Thu, 09 May 2019 15:33:08 +0100
parents 4c8ae668cc8c
children
comparison
equal deleted inserted replaced
17:129ea1e6d783 18:af1871eacc83
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 }