nodejs_notify.install in Node.js integration 7
Same filename and directory in other branches
Install, update and uninstall functions for the nodejs notify module.
File
nodejs_notify/nodejs_notify.installView source
<?php
/**
* @file
* Install, update and uninstall functions for the nodejs notify module.
*/
/**
* Implements hook_install().
*/
function nodejs_notify_install() {
variable_set('nodejs_notify_notification_lifetime_seconds', 3);
}
/**
* Implements hook_uninstall().
*/
function nodejs_notify_uninstall() {
variable_del('nodejs_notify_notification_lifetime_seconds');
}
Functions
Name | Description |
---|---|
nodejs_notify_install | Implements hook_install(). |
nodejs_notify_uninstall | Implements hook_uninstall(). |