You are here

function save_draft_submit in Save Draft 6.2

Handles save draft form submission

1 string reference to 'save_draft_submit'
save_draft_form_alter in ./save_draft.module
Implements hook_form_alter().

File

./save_draft.module, line 43
Main file for the Save Draft module, which adds a 'Save as Draft' button to content types.

Code

function save_draft_submit($form, &$form_state) {
  $form_state['values']['status'] = 0;
  node_form_submit($form, $form_state);
}