You are here

function pardot_admin_campaign_submit in Pardot Integration 7

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

Form submission handler for pardot_admin_campaign().

See also

pardot_admin_campaign_validate()

File

./pardot.admin-campaign.inc, line 85
Admin campaign form.

Code

function pardot_admin_campaign_submit($form, $form_state) {
  $campaign = (object) $form_state['values'];
  drupal_write_record('pardot_campaign', $campaign);
}