You are here

function pardot_admin_form in Pardot Integration 6

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

Settings form for general pardot information.

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

File

./pardot.admin.inc, line 6

Code

function pardot_admin_form() {
  $form = array();
  $form['pardot_a_id'] = array(
    '#title' => t('Pardot account id'),
    '#type' => 'textfield',
    '#description' => t('The value show in the pardot demo script for piAId. eg. if the script has piAId = "1001"; this field should be 1001'),
    '#default_value' => variable_get('pardot_a_id', ''),
  );
  $form['pardot_c_id'] = array(
    '#title' => t('Default Pardot campaign id'),
    '#type' => 'textfield',
    '#description' => t('The value show in the pardot demo script for piCId. eg. if the script has piCId = "1001"; this field should be 1001'),
    '#default_value' => variable_get('pardot_c_id', ''),
  );
  return system_settings_form($form);
}