nodereferrer.install in NodeReferrer 6
Same filename and directory in other branches
File
nodereferrer.installView source
<?php
/**
* Implementation of hook_install().
*/
function nodereferrer_install() {
drupal_load('module', 'content');
content_notify('install', 'nodereferrer');
}
/**
* Implementation of hook_uninstall().
*/
function nodereferrer_uninstall() {
drupal_load('module', 'content');
content_notify('uninstall', 'nodereferrer');
}
/**
* Implementation of hook_enable().
*/
function nodereferrer_enable() {
drupal_load('module', 'content');
content_notify('enable', 'nodereferrer');
}
/**
* Implementation of hook_install().
*/
function nodereferrer_disable() {
drupal_load('module', 'content');
content_notify('disable', 'nodereferrer');
}
Functions
Name | Description |
---|---|
nodereferrer_disable | Implementation of hook_install(). |
nodereferrer_enable | Implementation of hook_enable(). |
nodereferrer_install | Implementation of hook_install(). |
nodereferrer_uninstall | Implementation of hook_uninstall(). |