You are here

public function FeedsConfigurable::getConfig in Feeds 7.2

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

Implements getConfig().

Returns configuration array, ensure that all default values are present.

Return value

array The configuration for this object.

5 calls to FeedsConfigurable::getConfig()
FeedsConfigurable::__get in includes/FeedsConfigurable.inc
Overrides magic method __get().
FeedsFileFetcher::listFiles in plugins/FeedsFileFetcher.inc
Returns an array of files in a directory.
FeedsImporter::getConfig in includes/FeedsImporter.inc
Get configuration of this feed.
FeedsProcessor::validateConfig in plugins/FeedsProcessor.inc
Validates the configuration.
FeedsSource::save in includes/FeedsSource.inc
Save configuration.
1 method overrides FeedsConfigurable::getConfig()
FeedsImporter::getConfig in includes/FeedsImporter.inc
Get configuration of this feed.

File

includes/FeedsConfigurable.inc, line 231
FeedsConfigurable and helper functions.

Class

FeedsConfigurable
Base class for configurable classes.

Code

public function getConfig() {
  $defaults = $this
    ->configDefaults();
  return $this->config + $defaults;
}