You are here

barcodefield.install in Barcode 6.2

Install file for barcodefield module.

File

barcodefield.install
View source
<?php

/**
 * @file
 *   Install file for barcodefield module.
 */

/**
 * Implementation of hook_install().
 */
function barcodefield_install() {
  drupal_load('module', 'content');
  content_notify('install', 'barcode');
}

/**
 * Implementation of hook_uninstall().
 */
function barcodefield_uninstall() {
  drupal_load('module', 'content');
  content_notify('uninstall', 'barcode');
}

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

/**
 * Implementation of hook_disable().
 *
 * Notify content module when this module is disabled.
 */
function barcodefield_disable() {
  drupal_load('module', 'content');
  content_notify('disable', 'barcode');
}

Functions

Namesort descending Description
barcodefield_disable Implementation of hook_disable().
barcodefield_enable Implementation of hook_enable().
barcodefield_install Implementation of hook_install().
barcodefield_uninstall Implementation of hook_uninstall().