sm2_plst_cck.install in SoundManager2 6.2
Implementation of hook_install().
File
sm2_plst_cck/sm2_plst_cck.installView source
<?php
// Notify CCK when this module is enabled, disabled, installed,
// and uninstalled so CCK can do any necessary preparation or cleanup.
/**
* @file
* Implementation of hook_install().
*/
function sm2_plst_cck_install() {
drupal_load('module', 'content');
content_notify('install', 'sm2_plst_cck');
}
/**
* Implementation of hook_uninstall().
*/
function sm2_plst_cck_uninstall() {
drupal_load('module', 'content');
content_notify('uninstall', 'sm2_plst_cck');
}
/**
* Implementation of hook_enable().
*
* Notify content module when this module is enabled.
*/
function sm2_plst_cck_enable() {
drupal_load('module', 'content');
content_notify('enable', 'sm2_plst_cck');
}
/**
* Implementation of hook_disable().
*
* Notify content module when this module is disabled.
*/
function sm2_plst_cck_disable() {
drupal_load('module', 'content');
content_notify('disable', 'sm2_plst_cck');
}
Functions
Name![]() |
Description |
---|---|
sm2_plst_cck_disable | Implementation of hook_disable(). |
sm2_plst_cck_enable | Implementation of hook_enable(). |
sm2_plst_cck_install | @file Implementation of hook_install(). |
sm2_plst_cck_uninstall | Implementation of hook_uninstall(). |