You are here

save_draft.install in Save Draft 7

Install, update and uninstall functions for the save draft module.

File

save_draft.install
View source
<?php

/**
 * @file
 * Install, update and uninstall functions for the save draft module.
 */

/**
 * Implements hook_uninstall().
 */
function save_draft_uninstall() {
  foreach (node_type_get_names('names') as $type => $type_name) {
    variable_del('save_draft_enabled_' . $type);
    variable_del('save_draft_skip_required_' . $type);
    variable_del('save_draft_show_message_' . $type);
  }
}

Functions

Namesort descending Description
save_draft_uninstall Implements hook_uninstall().