public function FeedsSource::configFormValidate in Feeds 7.2
Same name and namespace in other branches
- 6 includes/FeedsSource.inc \FeedsSource::configFormValidate()
- 7 includes/FeedsSource.inc \FeedsSource::configFormValidate()
Override parent::configFormValidate().
Overrides FeedsConfigurable::configFormValidate
File
- includes/
FeedsSource.inc, line 1140 - Definition of FeedsSourceInterface, FeedsState and FeedsSource class.
Class
- FeedsSource
- Holds the source of a feed to import.
Code
public function configFormValidate(&$values) {
foreach ($this->importer->plugin_types as $type) {
$class = get_class($this->importer->{$type});
if (isset($values[$class]) && $this->importer->{$type}
->hasSourceConfig()) {
$this->importer->{$type}
->sourceFormValidate($values[$class]);
}
}
}