function theme_views_view_grouping in Views (for Drupal 7) 7.3
Same name and namespace in other branches
- 8.3 theme/theme.inc \theme_views_view_grouping()
Display a single views grouping.
1 theme call to theme_views_view_grouping()
- views_plugin_style::render_grouping_sets in plugins/
views_plugin_style.inc - Render the grouping sets.
File
- theme/
theme.inc, line 324 - Preprocessors and helper functions to make theming easier.
Code
function theme_views_view_grouping($vars) {
$view = $vars['view'];
$title = $vars['title'];
$content = $vars['content'];
$output = '<div class="view-grouping">';
$output .= '<div class="view-grouping-header">' . $title . '</div>';
$output .= '<div class="view-grouping-content">' . $content . '</div>';
$output .= '</div>';
return $output;
}