You are here

function feeds_import_form_validate in Feeds 7.2

Same name and namespace in other branches
  1. 8.2 feeds.pages.inc \feeds_import_form_validate()
  2. 6 feeds.pages.inc \feeds_import_form_validate()
  3. 7 feeds.pages.inc \feeds_import_form_validate()

Validation handler for node forms and feeds_import_form().

File

./feeds.pages.inc, line 135
Menu callbacks, form callbacks and helpers.

Code

function feeds_import_form_validate($form, &$form_state) {

  // @todo This may be a problem here, as we don't have a feed_nid at this point.
  feeds_source($form['#importer_id'])
    ->configFormValidate($form_state['values']['feeds']);
}