You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
39 lines
761 B
39 lines
761 B
<?php |
|
// $Id$ |
|
|
|
/** |
|
* @file |
|
* Implementation of hook_install(). |
|
*/ |
|
function pidfield_install() { |
|
drupal_load('module', 'content'); |
|
content_notify('install', 'pidfield'); |
|
} |
|
|
|
/** |
|
* Implementation of hook_uninstall(). |
|
*/ |
|
function pidfield_uninstall() { |
|
drupal_load('module', 'content'); |
|
content_notify('uninstall', 'pidfield'); |
|
} |
|
|
|
/** |
|
* Implementation of hook_enable(). |
|
* |
|
* Notify content module when this module is enabled. |
|
*/ |
|
function pidfield_enable() { |
|
drupal_load('module', 'content'); |
|
content_notify('enable', 'pidfield'); |
|
} |
|
|
|
/** |
|
* Implementation of hook_disable(). |
|
* |
|
* Notify content module when this module is disabled. |
|
*/ |
|
function pidfield_disable() { |
|
drupal_load('module', 'content'); |
|
content_notify('disable', 'pidfield'); |
|
}
|
|
|