'links'. * @param \Drupal\views\ViewExecutable $view * The view object being edited. * @param string $display_id * The ID of the display being edited, e.g. 'default' or 'page_1'. * * @see \Drupal\views_ui\ViewUI::renderDisplayTop() */ function hook_views_ui_display_top_links_alter(array &$links, ViewExecutable $view, $display_id) { // Put the export link first in the list. if (isset($links['export'])) { $links = ['export' => $links['export']] + $links; } } /** * @} End of "addtogroup hooks". */