You are here

public function FeedsImporter::getConfig in Feeds 8.2

Get configuration of this feed.

Overrides FeedsConfigurable::getConfig

1 call to FeedsImporter::getConfig()
FeedsImporter::configForm in lib/Drupal/feeds/FeedsImporter.php
Override parent::configForm().

File

lib/Drupal/feeds/FeedsImporter.php, line 163
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\feeds

Code

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