function cck_select_other_field_widget_info in CCK Select Other 7.2
Same name and namespace in other branches
- 7 cck_select_other.module \cck_select_other_field_widget_info()
Implementation of hook_field_widget_info().
File
- ./
cck_select_other.module, line 11 - Implements a select list widget that lets a user provide an alternate option.
Code
function cck_select_other_field_widget_info() {
return array(
'cck_select_other' => array(
'label' => t('Select other list'),
'description' => t('Provides an "other" option, which allows the user to provide an alternate value.'),
'field types' => array(
'list_integer',
'list_float',
'list_text',
),
'settings' => array(
'select_list_options' => '',
'select_list_options_fieldset' => array(
'advanced_options' => array(
'select_list_options_php' => '',
),
),
),
'behaviors' => array(
'default value' => FIELD_BEHAVIOR_DEFAULT,
),
),
);
}