You are here

function taxonomy_display_update_7001 in Taxonomy display 7

Implements hook_update_N().

File

./taxonomy_display.install, line 128
Install, update and uninstall functions for the taxonomy display module.

Code

function taxonomy_display_update_7001() {

  // Weight taxonomy display to run after display suite for manipulation of
  // taxonomy display forms, see taxonomy_display_admin_form() and
  // http://drupal.org/node/1124346
  db_update('system')
    ->fields(array(
    'weight' => 2,
  ))
    ->condition('name', 'taxonomy_display')
    ->execute();
}