You are here

function mailchimp_lists_segment_action_callback in Mailchimp 7.4

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

AJAX callback to return segments for a given list.

Return value

array List 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 842

Code

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