From cd73a6524c55b8306ef513b30b30b8c1788c04b6 Mon Sep 17 00:00:00 2001 From: Alex Pott <alex.a.pott@googlemail.com> Date: Mon, 8 Apr 2013 00:28:45 +0100 Subject: [PATCH] Issue #1961702 by dawehner: Fixed Rename renderSingleGroup to renderRowGroup. --- .../views/Plugin/views/style/StylePluginBase.php | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/core/modules/views/lib/Drupal/views/Plugin/views/style/StylePluginBase.php b/core/modules/views/lib/Drupal/views/Plugin/views/style/StylePluginBase.php index 5f993d44d67b..2fe7cfa816fa 100644 --- a/core/modules/views/lib/Drupal/views/Plugin/views/style/StylePluginBase.php +++ b/core/modules/views/lib/Drupal/views/Plugin/views/style/StylePluginBase.php @@ -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; -- GitLab