You are here

protected function StylePluginBase::renderRowGroup in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 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 439
Contains \Drupal\views\Plugin\views\style\StylePluginBase.

Class

StylePluginBase
Base class for views style plugins.

Namespace

Drupal\views\Plugin\views\style

Code

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