You are here

format_number.install in Format Number API 6

Same filename and directory in other branches
  1. 7 format_number.install

Module installation/uninstallation hooks.

File

format_number.install
View source
<?php

/**
 * @file
 * Module installation/uninstallation hooks.
 */

/**
 * Implementation of hook_uninstall().
 */
function format_number_uninstall() {
  variable_del('format_number_user_configurable');
  variable_del('format_number_thousands_sep');
  variable_del('format_number_decimal_point');
}

/**
 * Clear theme registry to enable theme function used by numeric input element.
 */
function format_number_update_6000() {
  $ret = array();
  $ret[] = array(
    'success' => TRUE,
    'query' => 'Format Number API has been updated.',
  );
  return $ret;
}

Functions

Namesort descending Description
format_number_uninstall Implementation of hook_uninstall().
format_number_update_6000 Clear theme registry to enable theme function used by numeric input element.