You are here

public function FeedsImporter::getConfig in Feeds 7.2

Same name and namespace in other branches
  1. 6 includes/FeedsImporter.inc \FeedsImporter::getConfig()
  2. 7 includes/FeedsImporter.inc \FeedsImporter::getConfig()

Get configuration of this feed.

Overrides FeedsConfigurable::getConfig

3 calls to FeedsImporter::getConfig()
FeedsImporter::configForm in includes/FeedsImporter.inc
Overrides parent::configForm().
FeedsImporter::save in includes/FeedsImporter.inc
Save configuration.
FeedsImporter::validateConfig in includes/FeedsImporter.inc
Validates the configuration.

File

includes/FeedsImporter.inc, line 202
FeedsImporter class and related.

Class

FeedsImporter
Class for a Feeds importer.

Code

public function getConfig() {
  foreach (array(
    'fetcher',
    'parser',
    'processor',
  ) as $type) {
    $this->config[$type]['config'] = $this->{$type}
      ->getConfig();
  }
  return parent::getConfig();
}