You are here

public function Pagerer::setRouteName in Pagerer 8

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

Sets the route name for this pager.

Parameters

string $route_name: The route name.

Return value

$this

Overrides PagererInterface::setRouteName

File

src/Pagerer.php, line 108

Class

Pagerer
Pagerer pager management class.

Namespace

Drupal\pagerer

Code

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