function taxonomy_breadcrumb_update_1 in Taxonomy Breadcrumb 6
Same name and namespace in other branches
- 5 taxonomy_breadcrumb.install \taxonomy_breadcrumb_update_1()
- 7 taxonomy_breadcrumb.install \taxonomy_breadcrumb_update_1()
Implementation of hook_update().
File
- ./
taxonomy_breadcrumb.install, line 76 - .install file for the taxonomy_breadcrumb module.
Code
function taxonomy_breadcrumb_update_1() {
$ret = array();
// Ensure this module's weight is larger than the core taxonomy module.
// This allows for this module's menu callback for taxonomy/term to get called
// instead of the core taxonomy/term callback.
$ret[] = update_sql("UPDATE {system} SET weight = 10 WHERE name = 'taxonomy_breadcrumb'");
return $ret;
}