You are here

function pardot_admin_campaign_delete in Pardot Integration 6

Same name and namespace in other branches
  1. 7.2 pardot.admin-campaign.inc \pardot_admin_campaign_delete()
  2. 7 pardot.admin-campaign.inc \pardot_admin_campaign_delete()

Form callback for deleting campaign entries.

1 string reference to 'pardot_admin_campaign_delete'
pardot_menu in ./pardot.module
Implementation of hook_menu().

File

./pardot.admin-campaign.inc, line 141

Code

function pardot_admin_campaign_delete($form_state, $campaign) {
  $form = array();
  $form['#campaign_id'] = $campaign->campaign_id;
  $description = t('Are you sure you want to delete this campaign. This paths will no logger trigger unique campaigns in Pardot.');
  return confirm_form($form, t('Are you sure you want to delete this campaign?'), 'admin/settings/pardot/campaign', $description, 'Delete');
}