function hook_salesforce_pull_entity_value_alter in Salesforce Suite 7.3
Same name and namespace in other branches
- 8.4 salesforce.api.php \hook_salesforce_pull_entity_value_alter()
- 8.3 salesforce.api.php \hook_salesforce_pull_entity_value_alter()
- 5.0.x salesforce.api.php \hook_salesforce_pull_entity_value_alter()
Alter the value being mapped to an entity property from a Salesforce object.
Parameters
string $value: Salesforce field value.
array $field_map: Associative array containing the field mapping in the form <code> 'fieldmap_name' => array( 'drupal_field' => array( 'fieldmap_type' => 'property', 'fieldmap_value' => 'first_name' ), 'salesforce_field' => array() ) </code>
object $sf_object: Fully loaded Salesforce object
Related topics
1 invocation of hook_salesforce_pull_entity_value_alter()
- salesforce_pull_map_fields in modules/
salesforce_pull/ salesforce_pull.module - Map field values.
File
- ./
salesforce.api.php, line 192 - These are the hooks that are invoked by the Salesforce core.
Code
function hook_salesforce_pull_entity_value_alter(&$value, $field_map, $sf_object) {
}