You are here

function mailchimp_signup_delete_submit in Mailchimp 7.3

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

Submit function for the delete button on the signup overview and edit forms.

1 string reference to 'mailchimp_signup_delete_submit'
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 306
mailchimp_signup module admin settings.

Code

function mailchimp_signup_delete_submit($form, &$form_state) {
  $form_state['redirect'] = 'admin/config/services/mailchimp/signup/' . $form_state['signup']
    ->identifier() . '/delete';
}