You are here

countries_example.install in Countries 8

Same filename and directory in other branches
  1. 7.2 modules/countries_example/countries_example.install

Provides a variable clean up via hook_uninstall().

File

modules/countries_example/countries_example.install
View 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

Namesort descending Description
countries_example_uninstall Implements hook_uninstall().