You are here

public function PagerParameters::getPagerQuery in Drupal 10

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/Pager/PagerParameters.php \Drupal\Core\Pager\PagerParameters::getPagerQuery()
  2. 9 core/lib/Drupal/Core/Pager/PagerParameters.php \Drupal\Core\Pager\PagerParameters::getPagerQuery()

File

core/lib/Drupal/Core/Pager/PagerParameters.php, line 56

Class

PagerParameters
Provides pager information contained within the current request.

Namespace

Drupal\Core\Pager

Code

public function getPagerQuery() {
  $query = $this
    ->getPagerParameter();
  return !empty($query) ? explode(',', $query) : [];
}