Commit cd73a652 authored by alexpott's avatar alexpott
Browse files

Issue #1961702 by dawehner: Fixed Rename renderSingleGroup to renderRowGroup.

parent 509cb253
......@@ -394,12 +394,15 @@ function pre_render($result) {
}
/**
* Renders a single group of a grouped view.
* Renders a group of rows of the grouped view.
*
* @param array $rows
* The result rows rendered in this group.
*
* @return array
* The render array containing the single view theme output.
* The render array containing the single group theme output.
*/
protected function renderSingleGroup(array $rows = array()) {
protected function renderRowGroup(array $rows = array()) {
return array(
'#theme' => $this->themeFunctions(),
'#view' => $this->view,
......@@ -467,7 +470,7 @@ function render_grouping_sets($sets, $level = 0) {
}
}
$single_output = $this->renderSingleGroup($set['rows']);
$single_output = $this->renderRowGroup($set['rows']);
$single_output['#grouping_level'] = $level;
$single_output['#title'] = $set['group'];
$output[] = $single_output;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment