public static function PhotosAlbum::getPagerQuery in Album Photos 8.4
Same name and namespace in other branches
- 8.5 src/PhotosAlbum.php \Drupal\photos\PhotosAlbum::getPagerQuery()
- 6.0.x src/PhotosAlbum.php \Drupal\photos\PhotosAlbum::getPagerQuery()
Returns array of query parameters.
1 call to PhotosAlbum::getPagerQuery()
- PhotosAlbum::orderLinks in src/
PhotosAlbum.php - Limit and sort by links.
File
- src/
PhotosAlbum.php, line 430
Class
- PhotosAlbum
- Create an album object.
Namespace
Drupal\photosCode
public static function getPagerQuery() {
$query_array = [
'limit',
'q',
'page',
'destination',
];
// @todo reivew and update as needed.
$query = UrlHelper::filterQueryParameters($_REQUEST, array_merge($query_array, array_keys($_COOKIE)));
return $query;
}