function mailchimp_signup_signup_delete_form in Mailchimp 7.5
Same name and namespace in other branches
- 7.3 modules/mailchimp_signup/includes/mailchimp_signup.admin.inc \mailchimp_signup_signup_delete_form()
- 7.4 modules/mailchimp_signup/includes/mailchimp_signup.admin.inc \mailchimp_signup_signup_delete_form()
Signup deletion form.
1 string reference to 'mailchimp_signup_signup_delete_form'
- mailchimp_signup_menu in modules/
mailchimp_signup/ mailchimp_signup.module - Implements hook_menu().
File
- modules/
mailchimp_signup/ includes/ mailchimp_signup.admin.inc, line 326 - mailchimp_signup module admin settings.
Code
function mailchimp_signup_signup_delete_form($form, &$form_state, $signup) {
$form_state['signup'] = $signup;
return confirm_form($form, t('Are you sure you want to delete the signup form %name?', array(
'%name' => $signup
->label(),
)), 'admin/config/services/mailchimp/signup/' . $signup
->identifier() . '/edit', t('This action cannot be undone.'), t('Delete Signup form'));
}