function theme_select_as_single_checkbox in Better Exposed Filters 6.3
Themes a single-selection select element as an on/off checkbox
Parameters
object $element - An associative array containing the properties of the element.: Properties used: return_value, value, attributes, title, description
Return value
HTML string representing the form element.
1 string reference to 'theme_select_as_single_checkbox'
- better_exposed_filters_theme in ./
better_exposed_filters.module - Implements hook_theme()
File
- ./
better_exposed_filters.theme, line 213
Code
function theme_select_as_single_checkbox($element) {
$element['#printed'] = FALSE;
return theme('checkbox', $element);
}