vud_term.install in Vote Up/Down 6.2
Same filename and directory in other branches
Install, update and uninstall functions for the Vote Up/Down Term module.
File
vud_term/vud_term.installView source
<?php
/**
* @file
* Install, update and uninstall functions for the Vote Up/Down Term module.
*/
/**
* Implementation of hook_install().
*/
function vud_term_install() {
drupal_install_schema('vud_term');
}
/**
* Implementation of hook_schema().
*/
function vud_term_schema() {
return array();
}
/**
* Implementation of hook_uninstall().
*/
function vud_term_uninstall() {
drupal_uninstall_schema('vud_term');
variable_del('vud_term_types');
variable_del('vud_term_widget');
variable_del('vud_term_votetable_show');
variable_del('vud_term_reset');
}
Functions
Name | Description |
---|---|
vud_term_install | Implementation of hook_install(). |
vud_term_schema | Implementation of hook_schema(). |
vud_term_uninstall | Implementation of hook_uninstall(). |