public function Pagerer::setRouteName in Pagerer 8.2
Same name and namespace in other branches
- 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\pagererCode
public function setRouteName($route_name) : self {
$this->routeName = $route_name;
return $this;
}