You are here

function hook_salesforce_api_export_connect_fail in Salesforce Suite 6.2

Same name and namespace in other branches
  1. 7.2 salesforce_api.api.php \hook_salesforce_api_export_connect_fail()

Called when a connection attempt to Salesforce fails.

Parameters

string $drupal_objects: The Drupal objects that were being exported.

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

string $sfid: Any sfid or sfids to have been used for export, if provided.

See also

salesforce_api_export()

3 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_node_export in sf_node/sf_node.module
Exports a node to Salesforce using the specified fieldmap and stores the ID of the Salesforce object for the node.
sf_user_export in sf_user/sf_user.module
Exports a user to Salesforce using the specified fieldmap and stores the ID of the Salesforce object for the user.

File

./hooks.php, line 298
These are the hooks that are invoked by the Salesforce core.

Code

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

  // respond to connection failure
}