How do I set the "Save draft" button by default on all webform nodes? I have a situation where, when I create a new webform node, its "Save draft" button must be there by default.

How can I achieve this?
/**
 * Implements hook_webform_node_defaults_alter().
 */
function mymodule_webform_node_defaults_alter(&amp;$defaults) {
  $defaults['allow_draft'] = '1';
}