You are here

public function FeedsConfigurable::configFormSubmit in Feeds 6

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

Submission handler for configForm().

Parameters

$values:

3 calls to FeedsConfigurable::configFormSubmit()
FeedsDataProcessor::configFormSubmit in plugins/FeedsDataProcessor.inc
Reschedule if expiry time changes.
FeedsImporter::configFormSubmit in includes/FeedsImporter.inc
Reschedule if import period changes.
FeedsNodeProcessor::configFormSubmit in plugins/FeedsNodeProcessor.inc
Reschedule if expiry time changes.
3 methods override FeedsConfigurable::configFormSubmit()
FeedsDataProcessor::configFormSubmit in plugins/FeedsDataProcessor.inc
Reschedule if expiry time changes.
FeedsImporter::configFormSubmit in includes/FeedsImporter.inc
Reschedule if import period changes.
FeedsNodeProcessor::configFormSubmit in plugins/FeedsNodeProcessor.inc
Reschedule if expiry time changes.

File

includes/FeedsConfigurable.inc, line 196
FeedsConfigurable and helper functions.

Class

FeedsConfigurable
Base class for configurable classes. Captures configuration handling, form handling and distinguishes between in-memory configuration and persistent configuration.

Code

public function configFormSubmit(&$values) {
  $this
    ->addConfig($values);
  $this
    ->save();
  drupal_set_message(t('Your changes have been saved.'));
  feeds_cache_clear(FALSE);
}