summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNathaniel Catchpole2013-12-03 12:01:24 (GMT)
committerNathaniel Catchpole2013-12-03 12:01:24 (GMT)
commit2e928d56c26f3075da24c7f0c1ccd95978a60681 (patch)
treee177acfb36a57fed8759f0a8e9bd68f98d72835c
parent15fded0c845f90c7d588f1c53003fdead7f0ce69 (diff)
Issue #2087239 by ellishettinga, lauriii, c4rl: Remove theme_exposed_filters().
-rw-r--r--core/includes/theme.inc3
-rw-r--r--core/modules/system/system.module34
2 files changed, 0 insertions, 37 deletions
diff --git a/core/includes/theme.inc b/core/includes/theme.inc
index a6d9362..1010c29 100644
--- a/core/includes/theme.inc
+++ b/core/includes/theme.inc
@@ -2814,9 +2814,6 @@ function drupal_common_theme() {
'date' => array(
'render element' => 'element',
),
- 'exposed_filters' => array(
- 'render element' => 'form',
- ),
'checkboxes' => array(
'render element' => 'element',
),
diff --git a/core/modules/system/system.module b/core/modules/system/system.module
index 883faae..7f9806a 100644
--- a/core/modules/system/system.module
+++ b/core/modules/system/system.module
@@ -3119,40 +3119,6 @@ function theme_system_config_form($variables) {
}
/**
- * Returns HTML for an exposed filter form.
- *
- * @param $variables
- * An associative array containing:
- * - form: An associative array containing the structure of the form.
- *
- * @return
- * A string containing an HTML-formatted form.
- *
- * @ingroup themeable
- */
-function theme_exposed_filters($variables) {
- $form = $variables['form'];
- $output = '';
-
- if (isset($form['current'])) {
- $items = array();
- foreach (element_children($form['current']) as $key) {
- $items[] = $form['current'][$key];
- }
- $item_list = array(
- '#theme' => 'item_list',
- '#items' => $items,
- '#attributes' => array('class' => array('clearfix', 'current-filters')),
- );
- $output .= drupal_render($item_list);
- }
-
- $output .= drupal_render_children($form);
-
- return '<div class="exposed-filters">' . $output . '</div>';
-}
-
-/**
* Implements hook_admin_paths().
*/
function system_admin_paths() {