range.install in Range 6
Same filename and directory in other branches
File
range.installView source
<?php
/**
* Implementation of hook_install().
*/
function cck_range_install() {
drupal_load('module', 'content');
content_notify('install', 'range');
}
/**
* Implementation of hook_uninstall().
*/
function cck_range_uninstall() {
drupal_load('module', 'content');
content_notify('uninstall', 'range');
}
/**
* Implementation of hook_enable().
*
* Notify content module when this module is enabled.
*/
function cck_range_enable() {
drupal_load('module', 'content');
content_notify('enable', 'range');
}
Functions
Name | Description |
---|---|
cck_range_enable | Implementation of hook_enable(). |
cck_range_install | Implementation of hook_install(). |
cck_range_uninstall | Implementation of hook_uninstall(). |