options.module

Version 1.25 (checked in on 2010/02/11 at 15:42:14 by webchick)

Defines selection, check box and radio button widgets for text and numeric fields.

Functions

NameDescription
options_array_flattenFlattens an array of allowed values.
options_array_transposeManipulates a 2D array to reverse rows and columns.
options_field_widget_errorImplements hook_field_widget_error().
options_field_widget_formImplements hook_field_widget_form().
options_field_widget_infoImplements hook_field_widget_info().
options_field_widget_validateForm element validation handler for options element.
options_helpImplements hook_help().
options_themeImplements hook_theme().
theme_options_noneTheme the label for the empty value for options that are not required. The default theme will display N/A for a radio list and blank for a select.
_options_form_to_storageTransforms submitted form values into field storage format.
_options_get_optionsCollects the options for a field.
_options_prepare_optionsSanitizes the options.
_options_propertiesDescribes the preparation steps required by each widget.
_options_storage_to_formTransforms stored field values into the format the widgets need.