You are here

function menu_token_install in Menu Token 7

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

Implements hook_install().

File

./menu_token.install, line 39
Install file for menu_token module.

Code

function menu_token_install() {
  db_update('system')
    ->fields(array(
    'weight' => 10,
  ))
    ->condition('type', 'module', '=')
    ->condition('name', 'menu_token', '=')
    ->execute();
}