You are here

function nodewords_install in Nodewords: D6 Meta Tags 6.3

Same name and namespace in other branches
  1. 5 nodewords.install \nodewords_install()
  2. 6 nodewords.install \nodewords_install()
  3. 6.2 nodewords.install \nodewords_install()

Implements hook_install().

File

./nodewords.install, line 157
Install, update and uninstall functions for the Nodewords module.

Code

function nodewords_install() {
  drupal_install_schema('nodewords');
  db_query("UPDATE {system} SET weight = 10 WHERE name = 'nodewords' AND type = 'module'");
  drupal_set_message(t('The module nodewords.module has been installed. Now you can <a href="@settings-page">configure it</a>, after you enabled at least one module implementing meta tags.', array(
    '@settings-page' => url('admin/content/nodewords'),
  )));
}