function TableSort::getQueryParameters

Same name in other branches
  1. 9 core/lib/Drupal/Core/Utility/TableSort.php \Drupal\Core\Utility\TableSort::getQueryParameters()
  2. 8.9.x core/lib/Drupal/Core/Utility/TableSort.php \Drupal\Core\Utility\TableSort::getQueryParameters()
  3. 10 core/lib/Drupal/Core/Utility/TableSort.php \Drupal\Core\Utility\TableSort::getQueryParameters()
  4. 11.x core/lib/Drupal/Core/Utility/TableSort.php \Drupal\Core\Utility\TableSort::getQueryParameters()

Compose a URL query parameter array to append to table sorting requests.

Return value

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

See also

tablesort_get_query_parameters()

1 call to TableSort::getQueryParameters()
TableSort::init in includes/tablesort.inc
Initializes the table sort context.

File

includes/tablesort.inc, line 87

Class

TableSort
Query extender class for tablesort queries.

Code

protected function getQueryParameters() {
    return tablesort_get_query_parameters();
}

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