You are here

function weight_install in Weight 6

Same name and namespace in other branches
  1. 5 weight.install \weight_install()
  2. 7 weight.install \weight_install()

Implementation of hook_install().

File

./weight.install, line 12
This module uses the sticky column of the node table to add weighting to nodes.

Code

function weight_install() {
  drupal_set_message(t('Weight module is now enabled. You must now update your nodes using the <a href="!url">Weight DB setup page</a>', array(
    '!url' => url('admin/settings/weight/setup'),
  )));
}