You are here

function constant_contact_install in Constant Contact 6.2

Same name and namespace in other branches
  1. 5 constant_contact.install \constant_contact_install()
  2. 6.3 constant_contact.install \constant_contact_install()
  3. 6 constant_contact.install \constant_contact_install()
  4. 7.3 constant_contact.install \constant_contact_install()

Installs the variables we need for the module

File

./constant_contact.install, line 95

Code

function constant_contact_install() {
  variable_set('constant_contact_username', '');
  variable_set('constant_contact_password', '');
  variable_set('constant_contact_api_key', '');
  variable_set('constant_contact_custom_fields', CONSTANT_CONTACT_CUSTOM_FIELDS);
  variable_set('constant_contact_show_on_register', CONSTANT_CONTACT_SHOW_ON_REGISTER);
  variable_set('constant_contact_show_list_selection', CONSTANT_CONTACT_SHOW_LIST_SELECTION);
  variable_set('constant_contact_signup_lists_description', CONSTANT_CONTACT_SIGNUP_LISTS_DESCRIPTION);
  variable_set('constant_contact_signup_title', CONSTANT_CONTACT_SIGNUP_TITLE);
  variable_set('constant_contact_signup_description', CONSTANT_CONTACT_SIGNUP_DESCRIPTION);
  variable_set('constant_contact_show_firstname', CONSTANT_CONTACT_SHOW_FIRSTNAME);
  variable_set('constant_contact_show_lastname', CONSTANT_CONTACT_SHOW_LASTNAME);
  variable_set('constant_contact_show_job_title', CONSTANT_CONTACT_SHOW_JOB_TITLE);
  variable_set('constant_contact_show_company_name', CONSTANT_CONTACT_SHOW_COMPANY_NAME);
}