public function Pagerer::render in Pagerer 8
Same name and namespace in other branches
- 8.2 src/Plugin/views/pager/Pagerer.php \Drupal\pagerer\Plugin\views\pager\Pagerer::render()
Return the renderable array of the pager.
Called during the view render process.
Parameters
$input: Any extra GET parameters that should be retained, such as exposed input.
Overrides Full::render
File
- src/
Plugin/ views/ pager/ Pagerer.php, line 151
Class
- Pagerer
- The views plugin to handle Pagerer pager.
Namespace
Drupal\pagerer\Plugin\views\pagerCode
public function render($input) {
return [
'#theme' => $this
->themeFunctions(),
'#route_name' => !empty($this->view->live_preview) ? '<current>' : '<none>',
'#element' => $this->options['id'],
'#parameters' => $input,
'#config' => [
'preset' => $this->options['preset'],
],
];
}