function _draggableviews_filter_fields in DraggableViews 7
Same name and namespace in other branches
- 6.3 draggableviews.inc \_draggableviews_filter_fields()
- 6 draggableviews.inc \_draggableviews_filter_fields()
- 6.2 draggableviews.inc \_draggableviews_filter_fields()
1 call to _draggableviews_filter_fields()
- draggableviews_plugin_style_draggabletable::options_form in views/
draggableviews_plugin_style_draggabletable.inc - Render the given style.
File
- ./
draggableviews.inc, line 1105 - Draggableviews processing functions. Rough summary of what functions in this file do:
Code
function _draggableviews_filter_fields($types = array(
'',
), $handlers) {
$available_fields = array();
foreach ($handlers as $field => $handler) {
if ($label = $handler
->label()) {
$available_fields[$field] = $label;
}
else {
$available_fields[$field] = $handler
->ui_name();
}
}
return $available_fields;
}