You are here

function money_widget_info in Money field 5

Same name and namespace in other branches
  1. 6 money.module \money_widget_info()

Implementation of hook_widget_info().

File

./money.module, line 265
This module defines the "money" CCK field. It uses the Currency API, which is included in the Currency module, to get a list of valid currencies.

Code

function money_widget_info() {
  return array(
    'money_default' => array(
      'label' => 'Select list for the currency, text field for the amount',
      'field types' => array(
        'money',
      ),
    ),
  );
}