constant SAVE_DRAFT_ENABLED in Save Draft 7
Save draft functionality is enabled.
4 uses of SAVE_DRAFT_ENABLED
- SaveDraftTestCase::testNodeSave in ./
save_draft.test - Make sure nodes save with the right publication status.
- SaveDraftTestCase::testNodeValidation in ./
save_draft.test - Make sure node validation still runs even after we've altered the form.
- save_draft_form_node_form_alter in ./
save_draft.module - Implements hook_form_FORM_ID_alter().
- save_draft_form_node_type_form_alter in ./
save_draft.module - Implements hook_form_FORM_ID_alter() for the node type form.
File
- ./
save_draft.module, line 17 - Main file for the Save Draft module, which adds a 'Save as draft' button to content types.
Code
define('SAVE_DRAFT_ENABLED', 1);