public function FeedsConfigurable::setConfig in Feeds 6
Same name and namespace in other branches
- 7.2 includes/FeedsConfigurable.inc \FeedsConfigurable::setConfig()
- 7 includes/FeedsConfigurable.inc \FeedsConfigurable::setConfig()
Set configuration.
Parameters
$config: Array containing configuration information. Config array will be filtered by the keys returned by configDefaults() and populated with default values that are not included in $config.
3 calls to FeedsConfigurable::setConfig()
- FeedsConfigurable::copy in includes/
FeedsConfigurable.inc - Copy a configuration.
- FeedsDataProcessor::setConfig in plugins/
FeedsDataProcessor.inc - Override parent::setConfig().
- FeedsImporter::copy in includes/
FeedsImporter.inc - Copy a FeedsImporter configuration into this importer.
1 method overrides FeedsConfigurable::setConfig()
- FeedsDataProcessor::setConfig in plugins/
FeedsDataProcessor.inc - Override parent::setConfig().
File
- includes/
FeedsConfigurable.inc, line 120 - FeedsConfigurable and helper functions.
Class
- FeedsConfigurable
- Base class for configurable classes. Captures configuration handling, form handling and distinguishes between in-memory configuration and persistent configuration.
Code
public function setConfig($config) {
$defaults = $this
->configDefaults();
$this->config = array_intersect_key($config, $defaults) + $defaults;
}