public static function PhotosAlbum::getPagerQuery in Album Photos 6.0.x
Same name and namespace in other branches
- 8.5 src/PhotosAlbum.php \Drupal\photos\PhotosAlbum::getPagerQuery()
- 8.4 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 433
Class
- PhotosAlbum
- Create an album object.
Namespace
Drupal\photosCode
public static function getPagerQuery() {
$query_array = [
'limit',
'q',
'page',
'destination',
];
// @todo review and update as needed.
return UrlHelper::filterQueryParameters($_REQUEST, array_merge($query_array, array_keys($_COOKIE)));
}