Overrides \Drupal\views\Plugin\views\pager\PagerPluginBase::render().
Overrides PagerPluginBase::render
function render($input) {
// The 1, 3 index are correct, see theme_pager().
$tags = array(
1 => $this->options['tags']['previous'],
3 => $this->options['tags']['next'],
);
$output = theme($this
->themeFunctions(), array(
'parameters' => $input,
'element' => $this->options['id'],
'tags' => $tags,
));
return $output;
}