function form_type_select_or_other_value in Select (or other) 6
Same name and namespace in other branches
- 6.2 select_or_other.module \form_type_select_or_other_value()
Implementation of form_type_hook_value().
File
- ./
select_or_other.module, line 65 - The Select (or other) module.
Code
function form_type_select_or_other_value($element, $edit = FALSE) {
if (func_num_args() == 1) {
return $element['#default_value'];
}
}