function autocomplete_widgets_widget_info in Autocomplete Widgets for Text and Number Fields 6
Implementation of hook_widget_info().
File
- ./
autocomplete_widgets.module, line 60 - Provides autocomplete widgets for CCK Text and Number fields.
Code
function autocomplete_widgets_widget_info() {
return array(
'autocomplete_widgets_allowvals' => array(
'label' => t('Autocomplete for allowed values list'),
'field types' => array(
'text',
'number_integer',
'number_decimal',
'number_float',
),
),
'autocomplete_widgets_flddata' => array(
'label' => t('Autocomplete for existing field data'),
'field types' => array(
'text',
),
),
);
}