function nodewords_install in Nodewords: D6 Meta Tags 6
Same name and namespace in other branches
- 5 nodewords.install \nodewords_install()
- 6.3 nodewords.install \nodewords_install()
- 6.2 nodewords.install \nodewords_install()
Implements hook_install().
File
- ./
nodewords.install, line 146 - Installation file for 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 Nodewords module has been installed. Now you can <a href="@settings-page">configure it</a>, after you have enabled at least one module implementing meta tags.', array(
'@settings-page' => url('admin/content/nodewords'),
)));
}