You are here

function DefaultSummary::render in Views (for Drupal 7) 8.3

Render the display in this style.

Overrides StylePluginBase::render

File

lib/Drupal/views/Plugin/views/style/DefaultSummary.php, line 80
Definition of Drupal\views\Plugin\views\style\StyleSummaryPluginBase.

Class

DefaultSummary
The default style plugin for summaries.

Namespace

Drupal\views\Plugin\views\style

Code

function render() {
  $rows = array();
  foreach ($this->view->result as $row) {

    // @todo: Include separator as an option.
    $rows[] = $row;
  }
  return theme($this
    ->themeFunctions(), array(
    'view' => $this->view,
    'options' => $this->options,
    'rows' => $rows,
  ));
}