1 views.theme.inc | theme_views_view_grouping($variables) |
Display a single views grouping.
File
- core/
modules/ views/ templates/ views.theme.inc, line 299 - Preprocessors and helper functions to make theme development easier.
Code
function theme_views_view_grouping($variables) {
$view = $variables['view'];
$title = $variables['title'];
$content = $variables['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;
}