options.module
Defines selection, check box and radio button widgets for text and numeric fields.
File
modules/field/modules/options/options.moduleFunctions
Name | Description |
---|---|
options_array_flatten | Flattens an array of allowed values. |
options_array_transpose | Manipulates a 2D array to reverse rows and columns. |
options_field_widget_error | Implements hook_field_widget_error(). |
options_field_widget_form | Implements hook_field_widget_form(). |
options_field_widget_info | Implements hook_field_widget_info(). |
options_field_widget_settings_form | Implements hook_field_widget_settings_form(). |
options_field_widget_validate | Form element validation handler for options element. |
options_help | Implements hook_help(). |
options_theme | Implements hook_theme(). |
theme_options_none | Returns HTML for the label for the empty value for options that are not required. |
_options_form_to_storage | Transforms submitted form values into field storage format. |
_options_get_options | Collects the options for a field. |
_options_prepare_options | Sanitizes the options. |
_options_properties | Describes the preparation steps required by each widget. |
_options_storage_to_form | Transforms stored field values into the format the widgets need. |
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/modules!field!modules!options!options.module/7.x