petreference.install in Previewable email templates 6
Implementation of hook_install().
File
modules/petreference/petreference.installView source
<?php
/**
* @file
* Implementation of hook_install().
*/
function petreference_install() {
drupal_load('module', 'content');
content_notify('install', 'petreference');
}
/**
* Implementation of hook_uninstall().
*/
function petreference_uninstall() {
drupal_load('module', 'content');
content_notify('uninstall', 'petreference');
}
/**
* Implementation of hook_enable().
*
* Notify content module when this module is enabled.
*/
function petreference_enable() {
drupal_load('module', 'content');
content_notify('enable', 'petreference');
}
/**
* Implementation of hook_disable().
*
* Notify content module when this module is disabled.
*/
function petreference_disable() {
drupal_load('module', 'content');
content_notify('disable', 'petreference');
}
Functions
Name | Description |
---|---|
petreference_disable | Implementation of hook_disable(). |
petreference_enable | Implementation of hook_enable(). |
petreference_install | @file Implementation of hook_install(). |
petreference_uninstall | Implementation of hook_uninstall(). |