You are here

function mailchimp_lists_segment_action_callback in Mailchimp 7.5

Same name and namespace in other branches
  1. 7.3 modules/mailchimp_lists/mailchimp_lists.module \mailchimp_lists_segment_action_callback()
  2. 7.4 modules/mailchimp_lists/mailchimp_lists.module \mailchimp_lists_segment_action_callback()

AJAX callback to return segments for a given list.

Return value

array List/Audience segment section of the form.

1 string reference to 'mailchimp_lists_segment_action_callback'
mailchimp_lists_add_to_segment_action_form in modules/mailchimp_lists/mailchimp_lists.module
An action configuration form for performing Add To Segment actions.

File

modules/mailchimp_lists/mailchimp_lists.module, line 845

Code

function mailchimp_lists_segment_action_callback($form, $form_state) {
  $ret = $form['segment'];
  return $ret;
}