public function FeedsExBase::sourceSave in Feeds extensible parsers 7
Same name and namespace in other branches
- 7.2 src/FeedsExBase.inc \FeedsExBase::sourceSave()
File
- src/
FeedsExBase.inc, line 689 - Contains FeedsExBase.
Class
- FeedsExBase
- The Feeds extensible parser.
Code
public function sourceSave(FeedsSource $source) {
$config = $source
->getConfigFor($this);
$source
->setConfigFor($this, array());
if ($this
->hasSourceConfig() && $config) {
$this
->setConfig($config);
$this
->save();
}
}