function theme_finder_optionwidgets_select_value in Finder 6
Same name and namespace in other branches
- 7 modules/finder_optionwidgets/finder_optionwidgets.module \theme_finder_optionwidgets_select_value()
Theme a select value.
This will actually set the value sent to the submit function.
Parameters
$option: The choice data object.
$element: The finder element object.
File
- modules/
finder_optionwidgets/ finder_optionwidgets.module, line 295 - The finder optionwidgets module.
Code
function theme_finder_optionwidgets_select_value($option, $element) {
return $option->{$option->field_name};
}