1 admin_bar.install admin_bar_install()

Implements hook_install().

File

core/modules/admin_bar/admin_bar.install, line 20
Install, update, and uninstall functions for the admin bar module.

Code

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