You are here

function homebox_install in Homebox 6.2

Same name and namespace in other branches
  1. 6.3 homebox.install \homebox_install()
  2. 6 homebox.install \homebox_install()

Implementation of hook_install().

File

./homebox.install, line 11
The install file for Homebox allows the module to install (and uninstall) itself. This is required as this module uses its own table.

Code

function homebox_install() {

  // Since there will be no upgrade path from 1.x to 2.x,
  // we need to make sure that hook_install ran and that
  // this wasn't simply enabled
  variable_set('homebox_version', 2);
  drupal_install_schema('homebox');
}