function admin_menu_install

nittany7 admin_menu.install admin_menu_install()
cis7 admin_menu.install admin_menu_install()
mooc7 admin_menu.install admin_menu_install()

Implements hook_install().

File

modules/contrib/admin_menu/admin_menu.install, line 20
Install, update, and uninstall functions for the admin menu module.

Code

function admin_menu_install() {
  // Increase the module weight, so admin_menu catches any alterations made by
  // other modules in hook_menu_alter().
  db_update('system')->fields(array('weight' => 100))->condition('type', 'module')->condition('name', 'admin_menu')->execute();
}