function hook_salesforce_api_post_import in Salesforce Suite 6.2
Same name and namespace in other branches
- 7.2 salesforce_api.api.php \hook_salesforce_api_post_import()
Called immediately after creating or updating a Drupal object from Salesforce data import.
Parameters
object $object - the drupal object (e.g. node, account) just: created or updated
string $name - the name of the fieldmap used for import:
object $sf_data - the data received from Salesforce:
string $create:
array $changes - if this is a user import, the $changes array as it: was passed to user_save(). Otherwise null.
Return value
void
2 invocations of hook_salesforce_api_post_import()
- sf_node_import in sf_node/
sf_node.module - Imports data from Salesforce into a node.
- sf_user_import in sf_user/
sf_user.module - Imports data from Salesforce into a user.
File
- ./
hooks.php, line 283 - These are the hooks that are invoked by the Salesforce core.
Code
function hook_salesforce_api_post_import($object, $name, $sf_data, $create, $changes = NULL) {
}