public function FeedsSource::configFormValidate in Feeds 8.2
Override parent::configFormValidate().
Overrides FeedsConfigurable::configFormValidate
File
- lib/
Drupal/ feeds/ FeedsSource.php, line 575 - 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.
Namespace
Drupal\feedsCode
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]);
}
}
}