function tablesort_get_query_parameters

Composes 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
Initializes the table sort context.
template_preprocess_views_view_table in drupal/core/modules/views/views.theme.inc
Prepares variables for views table templates.

File

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

Code

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