galleryformatter.install in Gallery formatter 6
Same filename and directory in other branches
Notifies CCK of our module.
Implementation of hook_install().
File
galleryformatter.installView source
<?php
/**
* @file
* Notifies CCK of our module.
*
* Implementation of hook_install().
*/
function galleryformatter_install() {
drupal_load('module', 'content');
content_notify('install', 'galleryformatter');
}
/**
* Implementation of hook_uninstall().
*/
function galleryformatter_uninstall() {
drupal_load('module', 'content');
content_notify('uninstall', 'galleryformatter');
}
/**
* Implementation of hook_enable().
*
* Notify content module when this module is enabled.
*/
function galleryformatter_enable() {
drupal_load('module', 'content');
content_notify('enable', 'galleryformatter');
}
/**
* Implementation of hook_disable().
*
* Notify content module when this module is disabled.
*/
function galleryformatter_disable() {
drupal_load('module', 'content');
content_notify('disable', 'galleryformatter');
}
Functions
Name | Description |
---|---|
galleryformatter_disable | Implementation of hook_disable(). |
galleryformatter_enable | Implementation of hook_enable(). |
galleryformatter_install | @file Notifies CCK of our module. |
galleryformatter_uninstall | Implementation of hook_uninstall(). |