You are here

function paymentform_field_widget_info in Payment 7

Implements hook_field_widget_info().

File

modules/paymentform/paymentform.module, line 28
Hook implementations and general functions.

Code

function paymentform_field_widget_info() {
  $widget['paymentform_line_item'] = array(
    'label' => t('Payment line item configuration'),
    'description' => t("Allows users to configure line items for the form's payment."),
    'field types' => array(
      'paymentform',
    ),
    'behaviors' => array(
      'multiple values' => FIELD_BEHAVIOR_CUSTOM,
      'default value' => FIELD_BEHAVIOR_NONE,
    ),
  );
  return $widget;
}