function hook_salesforce_api_delete in Salesforce Suite 7.2
Same name and namespace in other branches
- 6.2 hooks.php \hook_salesforce_api_delete()
Called before Salesforce delete. This hook can be used to prevent deletion of Salesforce records entities, but cannot prevent deletion of Drupal entities (or hook_user_delete).
Parameters
object $sfid:
object $map:
string $drupal_id:
Return value
FALSE if the Salesforce record should not be deleted.
See also
hook_salesforce_api_pre_export
hook_entity_delete, hook_node_delete,
1 function implements hook_salesforce_api_delete()
Note: this list is generated by pattern matching, so it may include some functions that are not actually implementations of this hook.
- sf_queue_salesforce_api_delete in sf_queue/
sf_queue.module - Implements hook_salesforce_api_delete().
1 invocation of hook_salesforce_api_delete()
- sf_entity_entity_delete in sf_entity/
sf_entity.module - Implements hook_entity_delete(). This should be sufficient for implementing node and user deletion as well.
File
- ./
salesforce_api.api.php, line 342 - These are the hooks that are invoked by the Salesforce core.
Code
function hook_salesforce_api_delete($sfid, $map, $drupal_id) {
}