/[drupal]/contributions/modules/kt/kt_docreference/kt_docreference.install
ViewVC logotype

Diff of /contributions/modules/kt/kt_docreference/kt_docreference.install

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

revision 1.1, Tue Aug 18 09:06:51 2009 UTC revision 1.1.2.1, Tue Aug 18 09:06:51 2009 UTC
# Line 0  Line 1 
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    }

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.1.2.1

  ViewVC Help
Powered by ViewVC 1.1.2