public function FeedsSource::setConfigFor in Feeds 7.2
Same name and namespace in other branches
- 7 includes/FeedsSource.inc \FeedsSource::setConfigFor()
Sets the configuration for a specific client class.
Parameters
FeedsSourceInterface $client: An object that is an implementer of FeedsSourceInterface.
array $config: The configuration for $client.
File
- includes/
FeedsSource.inc, line 1099 - Definition of FeedsSourceInterface, FeedsState and FeedsSource class.
Class
- FeedsSource
- Holds the source of a feed to import.
Code
public function setConfigFor(FeedsSourceInterface $client, array $config) {
$this->config[get_class($client)] = $config;
}