function Mini::render

Overrides \Drupal\views\Plugin\views\pager\PagerPluginBase::render().

Overrides PagerPluginBase::render

File

drupal/core/modules/views/lib/Drupal/views/Plugin/views/pager/Mini.php, line 94
Definition of Drupal\views\Plugin\views\pager\Mini.

Class

Mini
The plugin to handle mini pager.

Namespace

Drupal\views\Plugin\views\pager

Code

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;
}