You are here

function pardot_admin_scoring_delete in Pardot Integration 6

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

Form callback for deleting scoring entries.

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

File

./pardot.admin-scoring.inc, line 140

Code

function pardot_admin_scoring_delete($form_state, $score) {
  $form = array();
  $form['#scoring_id'] = $score->scoring_id;
  $description = t('Are you sure you want to delete this scoring. This path will no logger trigger additional scoring in Pardot.');
  return confirm_form($form, t('Are you sure you want to delete this score?'), 'admin/settings/pardot/scoring', $description, 'Delete');
}