function views_ui_view_preview_section_rows_links

Returns all contextual links for the main content part of the view.

Deprecated

in drupal:11.3.0 and is removed from drupal:12.0.0. There is no replacement.

See also

https://www.drupal.org/node/3535324

File

core/modules/views_ui/views_ui.module, line 86

Code

function views_ui_view_preview_section_rows_links(ViewExecutable $view) : array {
  @trigger_error(__FUNCTION__ . '() is deprecated in drupal:11.3.0 and is removed from drupal:12.0.0. There is no replacement. See https://www.drupal.org/node/3535324', E_USER_DEPRECATED);
  $links = [];
  $links = array_merge($links, views_ui_view_preview_section_handler_links($view, 'filter', TRUE));
  $links = array_merge($links, views_ui_view_preview_section_handler_links($view, 'field', TRUE));
  $links = array_merge($links, views_ui_view_preview_section_handler_links($view, 'sort', TRUE));
  $links = array_merge($links, views_ui_view_preview_section_handler_links($view, 'argument', TRUE));
  $links = array_merge($links, views_ui_view_preview_section_handler_links($view, 'relationship', TRUE));
  return $links;
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.