function paymentreference_field_widget_info in Payment 7
Implements hook_field_widget_info().
File
- modules/
paymentreference/ paymentreference.module, line 129 - Hook implementations and general functions.
Code
function paymentreference_field_widget_info() {
$widget['paymentreference'] = array(
'label' => t('Payment reference'),
'description' => t('Allows users to select existing unused payments, or to add a new payment on the fly.'),
'field types' => array(
'paymentreference',
),
'behaviors' => array(
'multiple values' => FIELD_BEHAVIOR_DEFAULT,
'default value' => FIELD_BEHAVIOR_NONE,
),
);
return $widget;
}