You are here

function _feeds_node_processor_node_load in Feeds 7

FeedsNodeProcessor's hook_node_load().

Related topics

1 call to _feeds_node_processor_node_load()
feeds_node_load in ./feeds.module
Implements hook_node_load().

File

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

Code

function _feeds_node_processor_node_load($nodes) {
  if ($items = db_query("SELECT nid, imported, guid, url, feed_nid FROM {feeds_node_item} WHERE nid IN (:nids)", array(
    ':nids' => array_keys($nodes),
  ))) {
    foreach ($items as $item) {
      $nodes[$item->nid]->feeds_node_item = $item;
    }
  }
}