nd.install in Node displays 7
Same filename and directory in other branches
Node displays install file.
File
nd.installView 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
Name | Description |
---|---|
nd_install | Implements hook_install(). |
nd_uninstall | Implements hook_uninstall(). |