Issue #1912606 by jastraat, gollyg, Cottser, joelpittet: Remove theme_views_view_grouping() function.
parent
b8ddc39934
commit
1304f13bfb
|
@ -112,8 +112,8 @@ function views_theme($existing, $type, $theme, $path) {
|
|||
'variables' => array('view' => NULL, 'field' => NULL, 'row' => NULL),
|
||||
);
|
||||
$hooks['views_view_grouping'] = $base + array(
|
||||
'pattern' => 'views_view_grouping__',
|
||||
'variables' => array('view' => NULL, 'grouping' => NULL, 'grouping_level' => NULL, 'rows' => NULL, 'title' => NULL),
|
||||
'template' => 'views-view-grouping',
|
||||
);
|
||||
|
||||
$plugins = views_get_plugin_definitions();
|
||||
|
|
|
@ -295,22 +295,6 @@ function template_preprocess_views_view_fields(&$vars) {
|
|||
|
||||
}
|
||||
|
||||
/**
|
||||
* Display a single views grouping.
|
||||
*/
|
||||
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;
|
||||
}
|
||||
|
||||
/**
|
||||
* Process a single grouping within a view.
|
||||
*/
|
||||
|
|
Loading…
Reference in New Issue