You are here

public function FeedsConfigurable::configDefaults in Feeds 7.2

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

Return default configuration.

@todo rename to getConfigDefaults().

Return value

array Array where keys are the variable names of the configuration elements and values are their default values.

6 calls to FeedsConfigurable::configDefaults()
FeedsConfigurable::addConfig in includes/FeedsConfigurable.inc
Similar to setConfig but adds to existing configuration.
FeedsConfigurable::getConfig in includes/FeedsConfigurable.inc
Implements getConfig().
FeedsConfigurable::setConfig in includes/FeedsConfigurable.inc
Set configuration.
FeedsConfigurable::__construct in includes/FeedsConfigurable.inc
Constructor, set id and load default configuration.
FeedsImporter::configDefaults in includes/FeedsImporter.inc
Return defaults for feed configuration.

... See full list

3 methods override FeedsConfigurable::configDefaults()
FeedsImporter::configDefaults in includes/FeedsImporter.inc
Return defaults for feed configuration.
FeedsPlugin::configDefaults in plugins/FeedsPlugin.inc
Overrides FeedsConfigurable::configDefaults().
FeedsSource::configDefaults in includes/FeedsSource.inc
Return defaults for feed configuration.

File

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

Class

FeedsConfigurable
Base class for configurable classes.

Code

public function configDefaults() {
  return array() + module_invoke_all('feeds_config_defaults', $this);
}