You are here

function publish_submit in Save Draft 6.2

Handles publish form submission

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

File

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

Code

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