You are here

public function FeedsConfigurable::configFormSubmit in Feeds 7.2

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

Submission handler for configForm().

Parameters

array $values: An array that contains the values entered by the user through configForm.

2 calls to FeedsConfigurable::configFormSubmit()
FeedsImporter::configFormSubmit in includes/FeedsImporter.inc
Overrides parent::configFormSubmit().
FeedsNodeProcessor::configFormSubmit in plugins/FeedsNodeProcessor.inc
Reschedule if expiry time changes.
2 methods override FeedsConfigurable::configFormSubmit()
FeedsImporter::configFormSubmit in includes/FeedsImporter.inc
Overrides parent::configFormSubmit().
FeedsNodeProcessor::configFormSubmit in plugins/FeedsNodeProcessor.inc
Reschedule if expiry time changes.

File

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

Class

FeedsConfigurable
Base class for configurable classes.

Code

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