You are here

public function FeedsImporter::configFormSubmit in Feeds 6

Same name and namespace in other branches
  1. 7.2 includes/FeedsImporter.inc \FeedsImporter::configFormSubmit()
  2. 7 includes/FeedsImporter.inc \FeedsImporter::configFormSubmit()

Reschedule if import period changes.

Overrides FeedsConfigurable::configFormSubmit

File

includes/FeedsImporter.inc, line 276
FeedsImporter class and related.

Class

FeedsImporter
A FeedsImporter object describes how an external source should be fetched, parsed and processed. Feeds can manage an arbitrary amount of importers.

Code

public function configFormSubmit(&$values) {
  if ($this->config['import_period'] != $values['import_period']) {
    feeds_reschedule($this->id);
  }
  parent::configFormSubmit($values);
}