You are here

public function PagererInterface::getHref in Pagerer 8

Gets a pager link.

Parameters

array $parameters: An associative array of query string parameters to append to the pager links.

int $page: The target page.

string $adaptive_keys: The adaptive keys string, in the format 'L.R.X', where L is the adaptive lock to left page, R is the adaptive lock to right page, and X is the adaptive center lock for calculation of neighborhood.

bool $set_query: Whether the link should contain the query parameters.

Return value

\Drupal\Core\Url The Url object for the link.

1 method overrides PagererInterface::getHref()
Pagerer::getHref in src/Pagerer.php
Gets a pager link.

File

src/PagererInterface.php, line 155

Class

PagererInterface
Provides an interface for the Pagerer pager management class.

Namespace

Drupal\pagerer

Code

public function getHref(array $parameters, $page, $adaptive_keys = NULL, $set_query = TRUE);