You are here

clone.install in Node clone 6

Same filename and directory in other branches
  1. 5.2 clone.install
  2. 5 clone.install
  3. 7 clone.install

Install & uninstall functions for Node_Clone module.

File

clone.install
View source
<?php

/**
 * @file
 * Install & uninstall functions for Node_Clone module.
 */

/**
 * Implementation of hook_uninstall.
 */
function clone_uninstall() {
  variable_del('clone_method');
  variable_del('clone_omitted');
  variable_del('clone_nodes_without_confirm');
  variable_del('clone_menu_links');
  $types = node_get_types('names');
  foreach ($types as $type => $name) {
    variable_del('clone_reset_' . $type);
  }
}

Functions

Namesort descending Description
clone_uninstall Implementation of hook_uninstall.