You are here

nd.install in Node displays 7

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

Node displays install file.

File

nd.install
View source
<?php

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

/**
 * Implements 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
    <a href="http://drupal.org/node/572614">http://drupal.org/node/572614</a> for a solution.';
  drupal_set_message(t($install_text));

  // RSS doesn't have all regions.
  variable_set('ds_build_mode_4', 'not_all');
}

/**
 * Implements hook_uninstall().
 */
function nd_uninstall() {
  db_query("DELETE FROM {variable} WHERE name LIKE 'nd_%%'");
  variable_del('ds_build_mode_4');
}

Functions

Namesort descending Description
nd_install Implements hook_install().
nd_uninstall Implements hook_uninstall().