You are here

function formatted_number_widget_info in Formatted Number 6

Implementation of hook_widget_info().

File

./formatted_number.module, line 421
Defines CCK numeric types where thousands separator and decimal point are inherited from the Format Number API module.

Code

function formatted_number_widget_info() {
  return array(
    'formatted_number' => array(
      'label' => t('Numeric text field'),
      'field types' => array_keys(formatted_number_get_fields_info()),
    ),
  );
}