You are here

function taxonomy_xml_import_form_validate in Taxonomy import/export via XML 7

Same name and namespace in other branches
  1. 5.2 taxonomy_xml.module \taxonomy_xml_import_form_validate()
  2. 5 taxonomy_xml.module \taxonomy_xml_import_form_validate()

Overall form persistence, should fire on any submission whatsoever.

File

./taxonomy_xml.admin.inc, line 151
UI and forms for administering taxonomy_xml

Code

function taxonomy_xml_import_form_validate($form, &$form_state) {
  $form_state['storage']['remember'] = TRUE;

  // Do not redirect and leave the page after uploading a file. This keeps
  // all the current form values in place. The file is saved by the
  // #value_callback on the form element.
  $form_state['redirect'] = FALSE;
}