public function FeedsFileFetcher::sourceDelete in Feeds 7
Same name and namespace in other branches
- 7.2 plugins/FeedsFileFetcher.inc \FeedsFileFetcher::sourceDelete()
Override parent::sourceDelete().
Overrides FeedsPlugin::sourceDelete
File
- plugins/
FeedsFileFetcher.inc, line 129 - Home of the FeedsFileFetcher and related classes.
Class
- FeedsFileFetcher
- Fetches data via HTTP.
Code
public function sourceDelete(FeedsSource $source) {
$source_config = $source
->getConfigFor($this);
if (isset($source_config['fid'])) {
$this
->deleteFile($source_config['fid'], $source->feed_nid);
}
}