You are here

persiantools.install in PersianTools 7

Contains install and uninstall functions for persiantools.

File

persiantools.install
View source
<?php

/**
 * @file
 * Contains install and uninstall functions for persiantools.
 */

/**
 * Implements hook_install().
 */
function persiantools_install() {
  variable_set('persiantools_digit_method', 'smart');
  variable_set('persiantools_rtl_ltr_fix', TRUE);
}

/**
 * Implements hook_uninstall().
 */
function persiantools_uninstall() {
  variable_del('persiantools_rtl_ltr_fix');
  variable_del('persiantools_digit_method');
}

Functions