You are here

function _title_install_set_weight in Title 7

Helper function.

2 calls to _title_install_set_weight()
title_install in ./title.install
Implements hook_install().
title_update_7001 in ./title.install
Make sure Title has a very high weight to be able to perform reverse synchronization reliably.

File

./title.install, line 11
Installation functions for the Title module.

Code

function _title_install_set_weight($weight) {
  db_update('system')
    ->fields(array(
    'weight' => $weight,
  ))
    ->condition('name', 'title')
    ->execute();
}