You are here

nd.install in Node displays 6

Same filename and directory in other branches
  1. 6.3 nd.install
  2. 6.2 nd.install
  3. 7 nd.install

Node displays install file.

File

nd.install
View source
<?php

/**
 * @file
 * Node displays install file.
 */

/**
 * Implementation of hook_install().
 */
function nd_install() {
  $install_text = 'Installation of Node displays is done. Please remember: if in the future you decide
  to implement your own hook_preprocess functions which run after the modulename_preprocess_hook,
  you might run into a racing condition problem where data won\'t be updated. Read !url for a solution.';
  drupal_set_message(t($install_text, array(
    '!url' => l('http://drupal.org/node/572614', 'http://drupal.org/node/572614'),
  )));
}

/**
 * Implementation of hook_uninstall().
 */
function nd_uninstall() {
  db_query("DELETE FROM {variable} WHERE name LIKE 'nd_%%'");
  cache_clear_all('variables', 'cache');
}

Functions

Namesort descending Description
nd_install Implementation of hook_install().
nd_uninstall Implementation of hook_uninstall().