You are here

function menu_link_weight_update_7000 in Menu Link Weight 7

Make the Menu Link Weight module execute later.

1 call to menu_link_weight_update_7000()
menu_link_weight_install in ./menu_link_weight.install
Implements hook_install().

File

./menu_link_weight.install, line 18
Install file for Menu Link Weight.

Code

function menu_link_weight_update_7000() {

  // Make sure this module always runs after the core Menu module and allows
  // other modules to alter menu access before executing.
  db_update('system')
    ->fields(array(
    'weight' => 4,
  ))
    ->condition('name', 'menu_link_weight')
    ->execute();
}