You are here

function LoadMore::render in Views Load More 8

Same name and namespace in other branches
  1. 2.x src/Plugin/views/pager/LoadMore.php \Drupal\views_load_more\Plugin\views\pager\LoadMore::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/LoadMore.php, line 170
Container Drupal\views_load_more\Plugin\views\pager\LoadMore

Class

LoadMore
The plugin to handle full pager.

Namespace

Drupal\views_load_more\Plugin\views\pager

Code

function render($parameters) {
  $output = array(
    '#theme' => $this
      ->themeFunctions(),
    '#element' => $this->options['id'],
    '#parameters' => $parameters,
    '#more_button_text' => $this->options['more_button_text'],
    '#end_text' => $this->options['end_text'],
  );
  return $output;
}