You are here

function money_field_widget_info in Money field 7

Implements hook_field_widget_info().

File

./money.module, line 286
This module defines the Money field.

Code

function money_field_widget_info() {
  return array(
    'money_widget' => array(
      'label' => t('Amount and currency'),
      'field types' => array(
        'money',
      ),
      'settings' => array(
        'currency_select_mode' => 'name',
        'currency_display_mode' => 'ac',
        'decimals_display_mode' => 'field',
        'currencies' => array(
          'allowed_currencies' => array(),
        ),
      ),
    ),
  );
}