You are here

function feeds_form_submit in Feeds 7

Same name and namespace in other branches
  1. 8.2 feeds.module \feeds_form_submit()
  2. 6 includes/FeedsConfigurable.inc \feeds_form_submit()
  3. 7.2 includes/FeedsConfigurable.inc \feeds_form_submit()

Submit handler for feeds_config_form().

1 string reference to 'feeds_form_submit'
feeds_form in includes/FeedsConfigurable.inc
Config form callback. Don't call directly, but use feeds_get_form($configurable, 'method') instead.

File

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

Code

function feeds_form_submit($form, &$form_state) {
  $submit_method = $form['#feeds_form_method'] . 'Submit';
  if (method_exists($form['#configurable'], $submit_method)) {
    $form['#configurable']
      ->{$submit_method}($form_state['values']);
  }
}