function _sf_entity_import_date in Salesforce Suite 7.2
1 string reference to '_sf_entity_import_date'
- sf_entity_fieldmap_objects in sf_entity/
sf_entity.module
File
- sf_entity/
sf_entity.module, line 1375 - Integrates fieldable entities with the Salesforce API.
Code
function _sf_entity_import_date(&$entity, $drupal_fieldname, $drupal_field_definition, $sf_data, $sf_fieldname, $sf_field_definition) {
$entity->{$drupal_fieldname} = strtotime($source->{$sf_fieldname});
}