You are here

public function Pagerer::setRouteName in Pagerer 8.2

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

Sets the route name for this pager.

Parameters

string $route_name: The route name.

Return value

self Self.

File

src/Pagerer.php, line 63

Class

Pagerer
Pagerer pager value object.

Namespace

Drupal\pagerer

Code

public function setRouteName($route_name) : self {
  $this->routeName = $route_name;
  return $this;
}