You are here

function _feeds_node_processor_node_insert in Feeds 7

FeedsNodeProcessor's hook_node_insert().

Related topics

1 call to _feeds_node_processor_node_insert()
feeds_node_insert in ./feeds.module
Implements hook_node_insert().

File

./feeds.module, line 443
Feeds - basic API functions and hook implementations.

Code

function _feeds_node_processor_node_insert($node) {
  if (isset($node->feeds_node_item)) {
    $node->feeds_node_item->nid = $node->nid;
    drupal_write_record('feeds_node_item', $node->feeds_node_item);
  }
}