csm.install in Custom Submit Messages 7
Same filename and directory in other branches
Install, update and uninstall functions for the Custom Submit Messages module.
File
csm.installView source
<?php
/**
* @file
* Install, update and uninstall functions for the Custom Submit Messages module.
*/
/**
* Implements hook_uninstall().
*/
function csm_uninstall() {
// Remove all of the variables that the module has added to the variable table
drupal_load('module', 'csm');
$variables = array_values(csm_variables());
foreach ($variables as $variable) {
variable_del($variable);
}
}
Functions
Name![]() |
Description |
---|---|
csm_uninstall | Implements hook_uninstall(). |