function wf_crm_contact_clone_storage in Webform CiviCRM Integration 7.4
Same name and namespace in other branches
- 8.5 webform_civicrm.module \wf_crm_contact_clone_storage()
- 7.5 webform_civicrm.module \wf_crm_contact_clone_storage()
- 7.3 webform_civicrm.module \wf_crm_contact_clone_storage()
Store info while a clone operation is running.
Parameters
array $input: Data to store
Return value
array
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 631 - 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;
}