You are here

public function FeedsFeedNodeProcessor::clear in Feeds 7

Same name and namespace in other branches
  1. 6 plugins/FeedsFeedNodeProcessor.inc \FeedsFeedNodeProcessor::clear()

Implements FeedsProcessor::clear().

Overrides FeedsProcessor::clear

File

plugins/FeedsFeedNodeProcessor.inc, line 60
Class definition of FeedsFeedNodeProcessor.

Class

FeedsFeedNodeProcessor
Creates *feed* nodes from feed items. The difference to FeedsNodeProcessor is that this plugin only creates nodes that are feed nodes themselves.

Code

public function clear(FeedsBatch $batch, FeedsSource $source) {

  // Do not support deleting imported items as we would have to delete all
  // items of the content type we imported which may contain nodes that a
  // user created by hand.
  throw new Exception(t('This configuration does not support deleting imported items.'));
}