function select_or_other_widget_info in Select (or other) 6.2
Same name and namespace in other branches
- 6 select_or_other.module \select_or_other_widget_info()
Implementation of hook_widget_info().
This is a CCK hook.
File
- ./
select_or_other.module, line 373 - The Select (or other) module.
Code
function select_or_other_widget_info() {
return array(
'select_or_other' => array(
'label' => t('Select (or other) list'),
'field types' => array(
'text',
'number_integer',
'number_decimal',
'number_float',
),
'multiple values' => CONTENT_HANDLE_MODULE,
'callbacks' => array(
'default value' => CONTENT_CALLBACK_DEFAULT,
),
),
'select_or_other_sort' => array(
'label' => t('Select (or other) drag and drop lists'),
'field types' => array(
'text',
'number_integer',
'number_decimal',
'number_float',
),
'multiple values' => CONTENT_HANDLE_CORE,
'callbacks' => array(
'default value' => CONTENT_CALLBACK_DEFAULT,
),
),
'select_or_other_buttons' => array(
'label' => t('Select (or other) check boxes/radio buttons'),
'field types' => array(
'text',
'number_integer',
'number_decimal',
'number_float',
),
'multiple values' => CONTENT_HANDLE_MODULE,
'callbacks' => array(
'default value' => CONTENT_CALLBACK_DEFAULT,
),
),
);
}