function StylePluginBase::renderRowGroup
Same name in other branches
- 9 core/modules/views/src/Plugin/views/style/StylePluginBase.php \Drupal\views\Plugin\views\style\StylePluginBase::renderRowGroup()
- 8.9.x core/modules/views/src/Plugin/views/style/StylePluginBase.php \Drupal\views\Plugin\views\style\StylePluginBase::renderRowGroup()
- 11.x 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\styleCode
protected function renderRowGroup(array $rows = []) {
return [
'#theme' => $this->themeFunctions(),
'#view' => $this->view,
'#rows' => $rows,
];
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.