You are here

function number_field_widget_info in Drupal 7

Implements hook_field_widget_info().

File

modules/field/modules/number/number.module, line 330
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',
      ),
    ),
  );
}