community_tags_ui.install in Community Tags 6.2
The install file for the community_tags_ui module.
File
community_tags_ui/community_tags_ui.installView source
<?php
// $Id$
/**
* @file
* The install file for the community_tags_ui module.
*/
/**
* Implementation of hook_install().
*/
function community_tags_ui_install() {
// Drop COMMUNITY_TAGS_UI module weight so we act after community_tags has added it's links etc.
$weight = (int) db_result(db_query("SELECT weight FROM {system} WHERE name = 'community_tags'"));
db_query("UPDATE {system} SET weight = %d WHERE name = 'community_tags_ui'", $weight + 1);
}
Functions
Name | Description |
---|---|
community_tags_ui_install | Implementation of hook_install(). |