You are here

function template_preprocess_views_view_grouping in Views (for Drupal 7) 8.3

Same name and namespace in other branches
  1. 7.3 theme/theme.inc \template_preprocess_views_view_grouping()

Process a single grouping within a view.

File

theme/theme.inc, line 324
Preprocessors and helper functions to make theming easier.

Code

function template_preprocess_views_view_grouping(&$vars) {
  $vars['content'] = $vars['view']->style_plugin
    ->render_grouping_sets($vars['rows'], $vars['grouping_level']);
}