public function FeedsImporter::save in Feeds 8.2
Save configuration.
Overrides FeedsConfigurable::save
File
- lib/
Drupal/ feeds/ FeedsImporter.php, line 84 - FeedsImporter class and related.
Class
- FeedsImporter
- A FeedsImporter object describes how an external source should be fetched, parsed and processed. Feeds can manage an arbitrary amount of importers.
Namespace
Drupal\feedsCode
public function save() {
$config = config('feeds.importer.' . $this->id);
$config
->set('id', $this->id)
->set('config', $this
->getConfig())
->save();
}