You are here

function mailchimp_signup_mergefields_callback in Mailchimp 7.4

Same name and namespace in other branches
  1. 7.5 modules/mailchimp_signup/includes/mailchimp_signup.admin.inc \mailchimp_signup_mergefields_callback()
  2. 7.3 modules/mailchimp_signup/includes/mailchimp_signup.admin.inc \mailchimp_signup_mergefields_callback()

AJAX callback to return fields for a given type.

Returns the form lists configuration fields.

1 string reference to 'mailchimp_signup_mergefields_callback'
mailchimp_signup_form in modules/mailchimp_signup/includes/mailchimp_signup.admin.inc
Return a form for adding/editing a Mailchimp signup form.

File

modules/mailchimp_signup/includes/mailchimp_signup.admin.inc, line 226
mailchimp_signup module admin settings.

Code

function mailchimp_signup_mergefields_callback($form, $form_state) {
  return $form['mc_lists_config']['mergefields'];
}