New module 'Clone module'

This commit is contained in:
Manuel Cillero 2017-07-26 14:03:04 +02:00
parent 6c622aad79
commit 9349230316
8 changed files with 769 additions and 0 deletions

View file

@ -0,0 +1,16 @@
<?php
/**
* 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);
}
}