countries_example.install in Countries 8
Same filename and directory in other branches
Provides a variable clean up via hook_uninstall().
File
modules/countries_example/countries_example.installView source
<?php
/**
* @file
* Provides a variable clean up via hook_uninstall().
*/
/**
* Implements hook_uninstall().
*/
function countries_example_uninstall() {
for ($i = 1; $i <= 2; $i++) {
variable_del('countries_example_default_core_' . $i);
}
for ($i = 1; $i <= 8; $i++) {
variable_del('countries_example_default_country_' . $i);
}
}
Functions
Name | Description |
---|---|
countries_example_uninstall | Implements hook_uninstall(). |