You are here

public function FeedsSource::getConfigFor in Feeds 7

Same name and namespace in other branches
  1. 6 includes/FeedsSource.inc \FeedsSource::getConfigFor()
  2. 7.2 includes/FeedsSource.inc \FeedsSource::getConfigFor()

Returns the configuration for a specific client class.

Parameters

FeedsSourceInterface $client: An object that is an implementer of FeedsSourceInterface.

Return value

An array stored for $client.

File

includes/FeedsSource.inc, line 318
Definition of FeedsSourceInterface and FeedsSource class.

Class

FeedsSource
This class encapsulates a source of a feed. It stores where the feed can be found and how to import it.

Code

public function getConfigFor(FeedsSourceInterface $client) {
  return $this->config[get_class($client)];
}