function number_widget_info in Content Construction Kit (CCK) 5
Same name and namespace in other branches
- 6.3 modules/number/number.module \number_widget_info()
- 6 modules/number/number.module \number_widget_info()
- 6.2 modules/number/number.module \number_widget_info()
Implementation of hook_widget_info().
File
- ./
number.module, line 261 - Defines numeric field types.
Code
function number_widget_info() {
return array(
'number' => array(
'label' => t('Text Field'),
'field types' => array(
'number_integer',
'number_decimal',
),
),
);
}