| 1 |
|
<?php |
| 2 |
|
// $Id$ |
| 3 |
|
|
| 4 |
|
/** |
| 5 |
|
* @file |
| 6 |
|
* Implementation of hook_install(). |
| 7 |
|
*/ |
| 8 |
|
function kt_docreference_install() { |
| 9 |
|
drupal_load('module', 'content'); |
| 10 |
|
content_notify('install', 'kt_docreference'); |
| 11 |
|
} |
| 12 |
|
|
| 13 |
|
/** |
| 14 |
|
* Implementation of hook_uninstall(). |
| 15 |
|
*/ |
| 16 |
|
function kt_docreference_uninstall() { |
| 17 |
|
drupal_load('module', 'content'); |
| 18 |
|
content_notify('uninstall', 'kt_docreference'); |
| 19 |
|
} |
| 20 |
|
|
| 21 |
|
/** |
| 22 |
|
* Implementation of hook_enable(). |
| 23 |
|
* |
| 24 |
|
* Notify content module when this module is enabled. |
| 25 |
|
*/ |
| 26 |
|
function kt_docreference_enable() { |
| 27 |
|
drupal_load('module', 'content'); |
| 28 |
|
content_notify('enable', 'kt_docreference'); |
| 29 |
|
} |
| 30 |
|
|
| 31 |
|
/** |
| 32 |
|
* Implementation of hook_disable(). |
| 33 |
|
* |
| 34 |
|
* Notify content module when this module is disabled. |
| 35 |
|
*/ |
| 36 |
|
function kt_docreference_disable() { |
| 37 |
|
drupal_load('module', 'content'); |
| 38 |
|
content_notify('disable', 'kt_docreference'); |
| 39 |
|
} |