You are here

function hook_salesforce_api_export_connect_fail in Salesforce Suite 7.2

Same name and namespace in other branches
  1. 6.2 hooks.php \hook_salesforce_api_export_connect_fail()

Called when a connection attempt to Salesforce fails on export.


string $drupal_id: The id of the Drupal entity to be exported.

string $name: The name of the fieldmap to have been used for the export.

string $sfid: The sfid to be used for the export, if provided.

See also


2 invocations of hook_salesforce_api_export_connect_fail()
salesforce_api_retrieve in salesforce_api/salesforce_api.module
Wraps SforceBaseClient::retrieve. Retrieve an object from Salesforce with standard fields and any data in fields defined in the name object.
sf_entity_export in sf_entity/sf_entity.module
Exports an entity to Salesforce using the specified fieldmap and stores the ID of the Salesforce object for the entity.


./salesforce_api.api.php, line 311
These are the hooks that are invoked by the Salesforce core.


function hook_salesforce_api_export_connect_fail($drupal_id, $name, $sfid) {

  // respond to connection failure