protected function StylePluginBase::renderRowGroup in Drupal 10
Same name and namespace in other branches
- 8 core/modules/views/src/Plugin/views/style/StylePluginBase.php \Drupal\views\Plugin\views\style\StylePluginBase::renderRowGroup()
- 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 435
Class
- StylePluginBase
- Base class for views style plugins.
Namespace
Drupal\views\Plugin\views\styleCode
protected function renderRowGroup(array $rows = []) {
return [
'#theme' => $this
->themeFunctions(),
'#view' => $this->view,
'#rows' => $rows,
];
}