You are here

function wf_crm_contact_clone_storage in Webform CiviCRM Integration 7.3

Same name and namespace in other branches
  1. 8.5 webform_civicrm.module \wf_crm_contact_clone_storage()
  2. 7.5 webform_civicrm.module \wf_crm_contact_clone_storage()
  3. 7.4 webform_civicrm.module \wf_crm_contact_clone_storage()

Store info while a clone operation is running.

Parameters

$input: Data to store

Return value

null

2 calls to wf_crm_contact_clone_storage()
webform_civicrm_webform_component_presave in ./webform_civicrm.module
Implements hook_webform_component_presave(). Alter form keys when cloning a contact.
wf_crm_contact_clone in ./webform_civicrm.module
Clone a contact via webform. This submit handler is called when cloning a contact's fieldset

File

./webform_civicrm.module, line 442
Webform CiviCRM Integration Module: Links webform submissions to contacts in a CiviCRM database. @author Coleman Watts

Code

function wf_crm_contact_clone_storage($input = NULL) {
  static $storage = NULL;
  if ($input) {
    $storage = $input;
  }
  return $storage;
}