You are here

function taxonomy_breadcrumb_update_1 in Taxonomy Breadcrumb 5

Same name and namespace in other branches
  1. 6 taxonomy_breadcrumb.install \taxonomy_breadcrumb_update_1()
  2. 7 taxonomy_breadcrumb.install \taxonomy_breadcrumb_update_1()

File

./taxonomy_breadcrumb.install, line 56
.install file for the taxonomy_breadcrumb module.

Code

function taxonomy_breadcrumb_update_1() {

  // 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;
}