You are here

function formatted_number_elements in Formatted Number 6

Implementation of FAPI hook_elements().

File

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

Code

function formatted_number_elements() {
  return array(
    'formatted_number' => array(
      '#input' => TRUE,
      '#columns' => array(
        'value',
      ),
      '#delta' => 0,
      '#process' => array(
        'formatted_number_widget_process',
      ),
    ),
  );
}