You are here

function webform_mailchimp_webform_component_info in Webform Mailchimp 6

Same name and namespace in other branches
  1. 7.4 webform_mailchimp.module \webform_mailchimp_webform_component_info()
  2. 7 webform_mailchimp.module \webform_mailchimp_webform_component_info()
  3. 7.2 webform_mailchimp.module \webform_mailchimp_webform_component_info()

Implementation of hook_webform_component_info().

File

./webform_mailchimp.module, line 5

Code

function webform_mailchimp_webform_component_info() {
  $components = array();
  $components['mailchimp'] = array(
    'label' => t('Mailchimp'),
    'description' => t('Sign up to a newsletter.'),
    'features' => array(
      'csv' => TRUE,
      'email' => FALSE,
      'email_address' => TRUE,
      'email_name' => FALSE,
      'required' => FALSE,
      'conditional' => FALSE,
      'group' => FALSE,
      'attachment' => FALSE,
    ),
    'file' => 'webform_mailchimp.inc',
  );
  return $components;
}