public function ParserBase::sourceSave in Feeds extensible parsers 8
File
- src/
Feeds/ Parser/ ParserBase.php, line 828
Class
- ParserBase
- The Feeds extensible parser.
Namespace
Drupal\feeds_ex\Feeds\ParserCode
public function sourceSave(FeedInterface $feed) {
$config = $feed
->getConfigurationFor($this);
$feed
->setConfigFor($this, []);
if ($this
->hasSourceConfig() && $config) {
$this
->setConfig($config);
$this
->save();
}
}