Commit 1304f13b authored by alexpott's avatar alexpott

Issue #1912606 by jastraat, gollyg, Cottser, joelpittet: Remove...

Issue #1912606 by jastraat, gollyg, Cottser, joelpittet: Remove theme_views_view_grouping() function.
parent b8ddc399
...@@ -112,8 +112,8 @@ function views_theme($existing, $type, $theme, $path) { ...@@ -112,8 +112,8 @@ function views_theme($existing, $type, $theme, $path) {
'variables' => array('view' => NULL, 'field' => NULL, 'row' => NULL), 'variables' => array('view' => NULL, 'field' => NULL, 'row' => NULL),
); );
$hooks['views_view_grouping'] = $base + array( $hooks['views_view_grouping'] = $base + array(
'pattern' => 'views_view_grouping__',
'variables' => array('view' => NULL, 'grouping' => NULL, 'grouping_level' => NULL, 'rows' => NULL, 'title' => NULL), 'variables' => array('view' => NULL, 'grouping' => NULL, 'grouping_level' => NULL, 'rows' => NULL, 'title' => NULL),
'template' => 'views-view-grouping',
); );
$plugins = views_get_plugin_definitions(); $plugins = views_get_plugin_definitions();
......
...@@ -295,22 +295,6 @@ function template_preprocess_views_view_fields(&$vars) { ...@@ -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. * Process a single grouping within a view.
*/ */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment