taxonomy_image_attach.install in Taxonomy Image 6
Same filename and directory in other branches
File
contributed/taxonomy_image_attach/taxonomy_image_attach.installView source
<?php
/**
* @file
* taxonomy_image_attach.install
*/
/**
* Implementation of hook_install().
*/
function taxonomy_image_attach_install() {
// This must run after the main taxonomy_image form_alter,
// as it alters that form in turn.
$taxonomy_image_weight = db_result(db_query("SELECT weight FROM {system} WHERE name='taxonomy_image'"));
db_query("UPDATE {system} SET weight=%d WHERE name='taxonomy_image_attach'", 1 + $taxonomy_image_weight);
}
Functions
Name | Description |
---|---|
taxonomy_image_attach_install | Implementation of hook_install(). |