You are here

function _fb_install_set_weight in Drupal for Facebook 7.3

Same name and namespace in other branches
  1. 5.2 fb.install \_fb_install_set_weight()
  2. 5 fb.install \_fb_install_set_weight()
  3. 6.3 fb.install \_fb_install_set_weight()
  4. 6.2 fb.install \_fb_install_set_weight()
1 call to _fb_install_set_weight()
fb_install in ./fb.install

File

./fb.install, line 150
Install file to support fb.module.

Code

function _fb_install_set_weight() {
  db_update('system')
    ->fields(array(
    'weight' => -2,
  ))
    ->condition('name', 'fb')
    ->execute();
}