function _sf_node_import_date in Salesforce Suite 6.2
Same name and namespace in other branches
- 7 sf_entity/sf_entity.module \_sf_node_import_date()
1 string reference to '_sf_node_import_date'
- sf_node_fieldmap_objects in sf_node/
sf_node.module - Implementation of hook_fieldmap_objects_alter().
File
- sf_node/
sf_node.module, line 349 - Integrates the core node object and various node related modules with the Salesforce API.
Code
function _sf_node_import_date(&$node, $drupal_fieldname, $drupal_field_definition, $sf_data, $sf_fieldname, $sf_field_definition) {
$node->{$drupal_fieldname} = strtotime($source->{$sf_fieldname});
}