You are here

nodejs_notify.install in Node.js integration 6

Same filename and directory in other branches
  1. 7 nodejs_notify/nodejs_notify.install

Install, update and uninstall functions for the nodejs notify module.

File

nodejs_notify/nodejs_notify.install
View 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