function pager_get_query_parameters
Same name in other branches
- 8.9.x core/includes/pager.inc \pager_get_query_parameters()
Compose a URL query parameter array for pager links.
Return value
A URL query parameter array that consists of all components of the current page request except for those pertaining to paging.
1 call to pager_get_query_parameters()
- theme_pager_link in includes/
pager.inc - Returns HTML for a link to a specific query result page.
File
-
includes/
pager.inc, line 309
Code
function pager_get_query_parameters() {
$query =& drupal_static(__FUNCTION__);
if (!isset($query)) {
$query = drupal_get_query_parameters($_GET, array(
'q',
'page',
));
}
return $query;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.