You are here

public function FeedsImportBatch::feedNode in Feeds 7

Same name and namespace in other branches
  1. 6 includes/FeedsBatch.inc \FeedsImportBatch::feedNode()

Return the feed node related to this batch object.

File

includes/FeedsBatch.inc, line 218

Class

FeedsImportBatch
A FeedsImportBatch wraps the actual content retrieved from a FeedsSource. On import, it is created on the fetching stage and passed through the parsing and processing stage where it is normalized and consumed.

Code

public function feedNode() {
  if ($this->feed_nid) {
    return node_load($this->feed_nid);
  }
}