function macro_export_action_submit in Macro 7
Same name and namespace in other branches
- 6 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 164 - 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/macro/export');
}