You are here

userreference.install in Content Construction Kit (CCK) 6

File

modules/userreference/userreference.install
View source
<?php

// Updates happen in random order, whether or not the module is enabled,
// so include critical code here just to be sure.
include_once './' . drupal_get_path('module', 'content') . '/content.module';

/**
 * Implementation of hook_install().
 */
function userreference_install() {
  content_notify('install', 'userreference');
}

/**
 * Implementation of hook_uninstall().
 */
function userreference_uninstall() {
  content_notify('uninstall', 'userreference');
}

/**
 * Implementation of hook_enable().
 *
 * Notify content module when this module is enabled.
 */
function userreference_enable() {
  content_notify('enable', 'userreference');
}

/**
 * Implementation of hook_disable().
 *
 * Notify content module when this module is disabled.
 */
function userreference_disable() {
  content_notify('disable', 'userreference');
}
function userreference_update_last_removed() {
  return 4;
}

/**
 * Placeholder update to set newly installed versions to the latest update number.
 */
function userreference_update_6000() {
  $ret = array();
  return $ret;
}

Functions

Namesort descending Description
userreference_disable Implementation of hook_disable().
userreference_enable Implementation of hook_enable().
userreference_install Implementation of hook_install().
userreference_uninstall Implementation of hook_uninstall().
userreference_update_6000 Placeholder update to set newly installed versions to the latest update number.
userreference_update_last_removed