You are here

geshifield.install in GeSHi Filter for syntax highlighting 6

Install and unistall related function for the GeSHi Field module.

@todo check this content_notify stuff.

File

geshifield/geshifield.install
View source
<?php

/**
 * @file
 * Install and unistall related function for the GeSHi Field module.
 *
 * @todo check this content_notify stuff.
 */

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

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

/**
 * Implementation of hook_enable().
 */
function geshifield_enable() {
  drupal_load('module', 'content');
  content_notify('enable', 'geshifield');
}

/**
 * Implementation of hook_disable().
 */
function geshifield_disable() {
  drupal_load('module', 'content');
  content_notify('disable', 'geshifield');
}

Functions

Namesort descending Description
geshifield_disable Implementation of hook_disable().
geshifield_enable Implementation of hook_enable().
geshifield_install Implementation of hook_install().
geshifield_uninstall Implementation of hook_uninstall().