You are here

public function PagerParametersInterface::getPagerParameter in Drupal 9

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/Pager/PagerParametersInterface.php \Drupal\Core\Pager\PagerParametersInterface::getPagerParameter()

Gets the 'page' query parameter for the current request.

Return value

string The 'page' query parameter for the current request. This is a comma-delimited string of pager element values. Defaults to empty string if the query does not have a 'page' parameter.

1 method overrides PagerParametersInterface::getPagerParameter()
PagerParameters::getPagerParameter in core/lib/Drupal/Core/Pager/PagerParameters.php
Gets the 'page' query parameter for the current request.

File

core/lib/Drupal/Core/Pager/PagerParametersInterface.php, line 57

Class

PagerParametersInterface
Interface describing pager information contained within the request.

Namespace

Drupal\Core\Pager

Code

public function getPagerParameter();