You are here

public function Pagerer::setRouteParameters in Pagerer 8.2

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

Sets the route parameters for this pager.

Parameters

string[] $route_parameters: The route parameters.

Return value

self Self.

File

src/Pagerer.php, line 87

Class

Pagerer
Pagerer pager value object.

Namespace

Drupal\pagerer

Code

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