function tablesort_get_query_parameters

Compose a URL query parameter array for table sorting links.

Return value

A URL query parameter array that consists of all components of the current page request except for those pertaining to table sorting.

3 calls to tablesort_get_query_parameters()
TableSortExtender::getQueryParameters in drupal/core/lib/Drupal/Core/Database/Query/TableSortExtender.php
Compose a URL query parameter array to append to table sorting requests.
tablesort_init in drupal/core/includes/tablesort.inc
Initialize the table sort context.
template_preprocess_views_view_table in drupal/core/modules/views/theme/theme.inc
Display a view as a table style.

File

drupal/core/includes/tablesort.inc, line 100
Functions to aid in the creation of sortable tables.

Code

function tablesort_get_query_parameters() {
  return drupal_get_query_parameters($_GET, array(
    'sort',
    'order',
  ));
}