function autotag_install in Taxonomy Autotagger 6.2
Same name and namespace in other branches
- 6 autotag.install \autotag_install()
hook_install
File
- ./
autotag.install, line 6
Code
function autotag_install() {
// We need to ensure the module is a little weightier than the taxonomy module
// in order to ensure this modules hook executes after taxonomy's.
$result[] = db_query("UPDATE {system} SET weight=10 WHERE name='autotag'");
// Create tables.
drupal_install_schema('autotag');
}