You are here

function sf_entity_entity_update in Salesforce Suite 7.2

Same name and namespace in other branches
  1. 7 sf_entity/sf_entity.module \sf_entity_entity_update()

Implements hook_entity_update(). Exports an entity on update if the fieldmap is configured accordingly.

File

sf_entity/sf_entity.module, line 239
Integrates fieldable entities with the Salesforce API.

Code

function sf_entity_entity_update($entity, $type) {
  sf_entity_save($entity, $type, 'update');
}