1 number.module number_field_widget_info()

Implements hook_field_widget_info().

File

core/modules/field/modules/number/number.module, line 326
Defines numeric field types.

Code

function number_field_widget_info() {
  return array(
    'number' => array(
      'label' => t('Text field'),
      'field types' => array('number_integer', 'number_decimal', 'number_float'),
    ),
  );
}