You are here

function _sf_node_import_date in Salesforce Suite 7

Same name and namespace in other branches
  1. 6.2 sf_node/sf_node.module \_sf_node_import_date()

File

sf_entity/sf_entity.module, line 414
Integrates fieldable entities 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});
}