You are here

function mailchimp_campaign_template_callback in Mailchimp 7.2

Same name and namespace in other branches
  1. 7.5 modules/mailchimp_campaign/includes/mailchimp_campaign.admin.inc \mailchimp_campaign_template_callback()
  2. 7.3 modules/mailchimp_campaign/includes/mailchimp_campaign.admin.inc \mailchimp_campaign_template_callback()
  3. 7.4 modules/mailchimp_campaign/includes/mailchimp_campaign.admin.inc \mailchimp_campaign_template_callback()

AJAX callback when changing template id.

_state

Parameters

$form:

Return value

mixed

1 string reference to 'mailchimp_campaign_template_callback'
mailchimp_campaign_campaign_form in modules/mailchimp_campaign/mailchimp_campaign.admin.inc
Returns a form for creating a campaign.

File

modules/mailchimp_campaign/mailchimp_campaign.admin.inc, line 145
Administration pages for mailchimp_campaign module.

Code

function mailchimp_campaign_template_callback($form, $form_state) {
  return $form['content'];
}