geshifield.install in GeSHi Filter for syntax highlighting 6
Same filename and directory in other branches
Install and unistall related function for the GeSHi Field module.
@todo check this content_notify stuff.
File
geshifield/geshifield.installView 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
Name | 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(). |