You are here

nodereferrer.install in NodeReferrer 6

Same filename and directory in other branches
  1. 5 nodereferrer.install
  2. 7 nodereferrer.install

File

nodereferrer.install
View 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

Namesort descending 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().