function mailchimp_campaign_send_form in Mailchimp 7.5
Same name and namespace in other branches
- 7.2 modules/mailchimp_campaign/mailchimp_campaign.admin.inc \mailchimp_campaign_send_form()
- 7.3 modules/mailchimp_campaign/includes/mailchimp_campaign.admin.inc \mailchimp_campaign_send_form()
- 7.4 modules/mailchimp_campaign/includes/mailchimp_campaign.admin.inc \mailchimp_campaign_send_form()
List/audience deletion form.
1 string reference to 'mailchimp_campaign_send_form'
- mailchimp_campaign_menu in modules/
mailchimp_campaign/ mailchimp_campaign.module - Implements hook_menu().
File
- modules/
mailchimp_campaign/ includes/ mailchimp_campaign.admin.inc, line 643 - Administration pages for mailchimp_campaign module.
Code
function mailchimp_campaign_send_form($form, &$form_state, MailChimpCampaign $campaign) {
$form_state['campaign'] = $campaign;
return confirm_form($form, t('Are you sure you want to send %name?', array(
'%name' => $campaign
->label(),
)), 'admin/config/services/mailchimp/campaigns/' . $campaign->mc_campaign_id, t('This action will send the campaign through MailChimp and cannot be undone.'), t('Send campaign'));
}