You are here

protected function StylePluginBase::renderRowGroup in Drupal 8

Same name and namespace in other branches
  1. 9 core/modules/views/src/Plugin/views/style/StylePluginBase.php \Drupal\views\Plugin\views\style\StylePluginBase::renderRowGroup()

Renders a group of rows of the grouped view.

Parameters

array $rows: The result rows rendered in this group.

Return value

array The render array containing the single group theme output.

1 call to StylePluginBase::renderRowGroup()
StylePluginBase::renderGroupingSets in core/modules/views/src/Plugin/views/style/StylePluginBase.php
Render the grouping sets.

File

core/modules/views/src/Plugin/views/style/StylePluginBase.php, line 447

Class

StylePluginBase
Base class for views style plugins.

Namespace

Drupal\views\Plugin\views\style

Code

protected function renderRowGroup(array $rows = []) {
  return [
    '#theme' => $this
      ->themeFunctions(),
    '#view' => $this->view,
    '#rows' => $rows,
  ];
}