You are here

function mailchimp_lists_list_delete_submit in Mailchimp 7.2

Submit function for the delete button on the menu item editing form.

1 string reference to 'mailchimp_lists_list_delete_submit'
mailchimp_lists_list_form in modules/mailchimp_lists/includes/mailchimp_lists.admin.inc
Return a form for adding/editing a mailchimp list.

File

modules/mailchimp_lists/includes/mailchimp_lists.admin.inc, line 540
mailchimp_lists module admin settings.

Code

function mailchimp_lists_list_delete_submit($form, &$form_state) {
  $form_state['redirect'] = 'admin/config/services/mailchimp/lists/' . $form_state['list']->id . '/delete';
}