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 5f993d44d67b27a7f566236034fe9498979911f1..2fe7cfa816faf7c13dc12f078773ac1028d795e7 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;