function macro_export_session_action_submit in Macro 6
Same name and namespace in other branches
- 7 macro.module \macro_export_session_action_submit()
Form callback to handle macro export session functionality.
1 string reference to 'macro_export_session_action_submit'
- macro_form_alter in ./
macro.module - Implementation of hook_form_alter().
File
- ./
macro.module, line 163 - allow administrators to record (export) form submissions allow administrators to replay (import) form submissions
Code
function macro_export_session_action_submit($form, &$form_state) {
// Start recording submissions and clear the saved submissions for a fresh session.
variable_set('macro_enabled', TRUE);
variable_set('macro_submissions', array());
}