You are here

function mailchimp_lists_field_widget_info in Mailchimp 7.5

Same name and namespace in other branches
  1. 7.3 modules/mailchimp_lists/includes/mailchimp_lists.field.inc \mailchimp_lists_field_widget_info()
  2. 7.4 modules/mailchimp_lists/includes/mailchimp_lists.field.inc \mailchimp_lists_field_widget_info()

Implements hook_field_widget_info().

File

modules/mailchimp_lists/includes/mailchimp_lists.field.inc, line 317
Field hooks.

Code

function mailchimp_lists_field_widget_info() {
  return array(
    'mailchimp_lists_select' => array(
      'label' => t('Subscription form'),
      'field types' => array(
        'mailchimp_lists_subscription',
      ),
      'settings' => array(),
      'behaviors' => array(
        'multiple values' => FIELD_BEHAVIOR_DEFAULT,
        'default value' => FIELD_BEHAVIOR_DEFAULT,
      ),
    ),
  );
}