You are here

hacked.install in Hacked! 6.2

Same filename and directory in other branches
  1. 5 hacked.install
  2. 6 hacked.install
  3. 7.3 hacked.install
  4. 7.2 hacked.install

Install functions for the Hacked! module.

File

hacked.install
View source
<?php

/**
 * @file
 * Install functions for the Hacked! module.
 */

/**
 * Implementation of hook_install().
 */
function hacked_install() {
  drupal_install_schema('hacked');
}

/**
 * Implementation of hook_uninstall().
 */
function hacked_uninstall() {
  drupal_uninstall_schema('hacked');
}

/**
 * Implementation of hook_schema().
 */
function hacked_schema() {
  $tables = array();
  $tables['cache_hacked'] = drupal_get_schema_unprocessed('system', 'cache');
  $tables['cache_hacked']['description'] = 'Cache table for the Hacked! module. Holds hashes for the various projects.';
  return $tables;
}

Functions

Namesort descending Description
hacked_install Implementation of hook_install().
hacked_schema Implementation of hook_schema().
hacked_uninstall Implementation of hook_uninstall().