function hook_salesforce_api_pre_import in Salesforce Suite 7.2
Same name and namespace in other branches
- 6.2 hooks.php \hook_salesforce_api_pre_import()
Called immediately before creating or updating a Drupal object from Salesforce data import.
Parameters
object $entity - the Drupal entity (e.g. node, user) about to be: created or updated
string $name - the name of the fieldmap used for import:
object $sf_data - the data received from Salesforce :
Return value
Implementing modules should return FALSE if the current import should NOT proceed. Note that this will prevent further processing of implementations of this hook.
1 invocation of hook_salesforce_api_pre_import()
- sf_entity_import in sf_entity/
sf_entity.module - Imports data from Salesforce into a Drupal entity
File
- ./
salesforce_api.api.php, line 281 - These are the hooks that are invoked by the Salesforce core.
Code
function hook_salesforce_api_pre_import(&$entity, $name, $sf_data) {
}