function number_field_widget_info
Implements hook_field_widget_info().
File
-
modules/
field/ modules/ number/ number.module, line 330
Code
function number_field_widget_info() {
return array(
'number' => array(
'label' => t('Text field'),
'field types' => array(
'number_integer',
'number_decimal',
'number_float',
),
),
);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.