1 options.module | form_type_options_value(&$element, $edit = FALSE) |
This function adjusts the value of the element from a text value to an array.
File
- core/
modules/ field/ modules/ options/ options.module, line 533 - Defines selection, check box and radio button widgets for text and numeric fields.
Code
function form_type_options_value(&$element, $edit = FALSE) {
module_load_include('inc', 'options', 'options.element');
return _form_type_options_value($element, $edit);
}