You are here

function money_elements in Money field 6

Implementation of FAPI hook_elements().

File

./money.module, line 236
This module defines the Money CCK field.

Code

function money_elements() {
  return array(
    'money_widget' => array(
      '#input' => TRUE,
      '#columns' => array(
        'amount',
        'currency',
      ),
      '#delta' => 0,
      '#process' => array(
        'money_widget_process',
      ),
    ),
  );
}