You are here

function wf_crm_location_fields in Webform CiviCRM Integration 7.4

Same name and namespace in other branches
  1. 7.5 includes/utils.inc \wf_crm_location_fields()

These are the contact location fields this module supports

Return value

array

3 calls to wf_crm_location_fields()
wf_crm_admin_form::buildContactTab in includes/wf_crm_admin_form.inc
Build fields for a contact
wf_crm_webform_base::loadContact in includes/wf_crm_webform_base.inc
Fetch all relevant data for a given contact Used to load contacts for pre-filling a webform, and also to fill in a contact via ajax
wf_crm_webform_postprocess::saveContactLocation in includes/wf_crm_webform_postprocess.inc
Save location data for a contact

File

includes/utils.inc, line 1677
Webform CiviCRM module's common utility functions.

Code

function wf_crm_location_fields() {
  return array(
    'address',
    'email',
    'phone',
    'website',
    'im',
  );
}