You are here

function bundle_copy_export_submit in Bundle Copy 7

Same name and namespace in other branches
  1. 7.2 bundle_copy.module \bundle_copy_export_submit()

Submit callback: export data.

File

./bundle_copy.module, line 247
Bundle copy.

Code

function bundle_copy_export_submit($form, &$form_state) {

  // Save the form state values.
  $step = $form_state['step'];
  $form_state['page_values'][$step] = $form_state['values'];

  // Add step and rebuild.
  $form_state['step'] = $form_state['step'] + 1;
  $form_state['rebuild'] = TRUE;
}