You are here

public function FeedsImporter::getConfig in Feeds 6

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

Get configuration of this feed.

Overrides FeedsConfigurable::getConfig

1 call to FeedsImporter::getConfig()
FeedsImporter::save in includes/FeedsImporter.inc
Save configuration.

File

includes/FeedsImporter.inc, line 198
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.

Code

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

  // Collect information from plugins.
}