You are here

function menu_token_install in Menu Token 5

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

Implementation of hook_install().

File

./menu_token.install, line 6

Code

function menu_token_install() {

  // Set the module weight to -2, so that the menu_token.module's hook_menu()
  // implementation get's called before core node's implementation ...
  db_query("UPDATE {system} SET weight = -10 WHERE name = 'menu_token'");
}