clone.install in Node clone 7
Same filename and directory in other branches
Install & uninstall functions for Node_Clone module.
File
clone.installView 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_use_node_type_name');
variable_del('clone_menu_links');
$types = node_type_get_names();
foreach ($types as $type => $name) {
variable_del('clone_reset_' . $type);
}
}
Functions
Name | Description |
---|---|
clone_uninstall | Implementation of hook_uninstall. |