rh_node.install in Rabbit Hole 7.2
Update instructions for Rabbit Hole nodes.
File
modules/rh_node/rh_node.installView source
<?php
/**
* @file
* Update instructions for Rabbit Hole nodes.
*/
/**
* Delete Rabbit Hole garbage variables.
*/
function rh_node_update_7001() {
foreach (node_type_get_names() as $type) {
variable_del('rh_module_' . $type);
variable_del('redirect_setting_name_' . $type);
}
}
Functions
Name![]() |
Description |
---|---|
rh_node_update_7001 | Delete Rabbit Hole garbage variables. |