You are here

function macro_export_action_submit in Macro 6

Same name and namespace in other branches
  1. 7 macro.module \macro_export_action_submit()

Form callback to handle macro export functionality.

1 string reference to 'macro_export_action_submit'
macro_form_alter in ./macro.module
Implementation of hook_form_alter().

File

./macro.module, line 148
allow administrators to record (export) form submissions allow administrators to replay (import) form submissions

Code

function macro_export_action_submit($form, &$form_state) {

  // Start a fresh session.
  variable_set('macro_submissions', array());

  // Record the single macro.
  macro_record_macro($form, $form_state);

  // Send straight to the export form.
  drupal_goto('admin/build/macro/export');
}