You are here

function node_node_import_values in Node import 6

Implementation of hook_node_import_values().

File

supported/node.inc, line 243
Support file for the core node module.

Code

function node_node_import_values($type, $defaults, $options, $fields, $preview) {
  $values = array();
  if (($node_type = node_import_type_is_node($type)) !== FALSE) {
    $values = array(
      'created' => time(),
    );
  }
  return $values;
}