Commit 30f23047 authored by webchick's avatar webchick
Browse files

Issue #2062315 by k4v, Cottser: Remove unnecessary 'pattern' lines in views_theme().

parent 4431c7e1
......@@ -91,7 +91,6 @@ function views_theme($existing, $type, $theme, $path) {
// Our extra version of pager from pager.inc
$hooks['views_mini_pager'] = $base + array(
'variables' => array('tags' => array(), 'quantity' => 10, 'element' => 0, 'parameters' => array()),
'pattern' => 'views_mini_pager__',
);
$variables = array(
......@@ -110,7 +109,6 @@ function views_theme($existing, $type, $theme, $path) {
// Default view themes
$hooks['views_view_field'] = $base + array(
'pattern' => 'views_view_field__',
'variables' => array('view' => NULL, 'field' => NULL, 'row' => NULL),
);
$hooks['views_view_grouping'] = $base + array(
......@@ -130,7 +128,6 @@ function views_theme($existing, $type, $theme, $path) {
}
$hooks[$def['theme']] = array(
'pattern' => $def['theme'] . '__',
'variables' => $variables[$type],
);
......@@ -165,7 +162,6 @@ function views_theme($existing, $type, $theme, $path) {
$hooks['views_exposed_form'] = $base + array(
'template' => 'views-exposed-form',
'pattern' => 'views_exposed_form__',
'render element' => 'form',
);
......
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