You are here

public function Pagerer::setRouteParameters in Pagerer 8

Same name and namespace in other branches
  1. 8.2 src/Pagerer.php \Drupal\pagerer\Pagerer::setRouteParameters()

Sets the route parameters for this pager.

Parameters

string[] $route_parameters: The route parameters.

Return value

$this

Overrides PagererInterface::setRouteParameters

File

src/Pagerer.php, line 123

Class

Pagerer
Pagerer pager management class.

Namespace

Drupal\pagerer

Code

public function setRouteParameters(array $route_parameters) {
  $this->routeParameters = $route_parameters;
  return $this;
}