Skip to content

Instantly share code, notes, and snippets.

/**
* Implements hook_uninstall().
*
* Deletes the NUTS regions variables.
* Deletes the NUTS regions vocabulary (fields and data).
*/
function nuts_regions_uninstall() {
$t = get_t();
variable_del('clients');
drupal_set_message($t('NUTS regions: NUTS regions was uninstalled from your site.'));