Issue #1912606 by jastraat, gollyg, Cottser, joelpittet: Remove theme_views_view_grouping() function.

8.0.x
Alex Pott 2013-05-12 23:30:02 +01:00
parent b8ddc39934
commit 1304f13bfb
2 changed files with 1 additions and 17 deletions

View File

@ -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();

View File

@ -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.
*/