Full ELMS Learning Network documentation
function theme_exposed_filters
×
Error message
User warning: The following module is missing from the file system: theme/theme. For information about how to fix this, see the documentation page. in _drupal_trigger_error_with_delayed_logging() (line 1156 of /var/www/html/elmsln_community/api.elmsln.org/includes/bootstrap.inc).cis7 system.module | theme_exposed_filters($variables) |
cle7 system.module | theme_exposed_filters($variables) |
elmsmedia7 system.module | theme_exposed_filters($variables) |
icor7 system.module | theme_exposed_filters($variables) |
meedjum_blog7 system.module | theme_exposed_filters($variables) |
mooc7 system.module | theme_exposed_filters($variables) |
Returns HTML for an exposed filter form.
Parameters
$variables: An associative array containing:
- form: An associative array containing the structure of the form.
Return value
A string containing an HTML-formatted form.
Related topics
4 string references to the theme hook from theme_exposed_filters()
Note: this list is generated by looking for the string for this theme hook, so it may include some references that are not actually using this theme hook.
- drupal_common_theme in includes/
common.inc - Provides theme registration for themes across .inc files.
- file_entity_filter_form in sites/
all/ modules/ ulmus/ file_entity/ file_entity.admin.inc - Return form for file administration filters.
- node_filter_form in modules/
node/ node.admin.inc - Returns the node administration filters form array to node_admin_content().
- user_filter_form in modules/
user/ user.admin.inc - Form builder; Return form for user administration filters.
File
- modules/
system/ system.module, line 3991 - Configuration system that lets administrators modify the workings of the site.
Code
function theme_exposed_filters($variables) {
$form = $variables['form'];
$output = '';
if (isset($form['current'])) {
$items = array();
foreach (element_children($form['current']) as $key) {
$items[] = drupal_render($form['current'][$key]);
}
$output .= theme('item_list', array('items' => $items, 'attributes' => array('class' => array('clearfix', 'current-filters'))));
}
$output .= drupal_render_children($form);
return '<div class="exposed-filters">' . $output . '</div>';
}