You are here

function modernizr_set_module_weight in Modernizr 7.3

Set module weight.

2 calls to modernizr_set_module_weight()
modernizr_install in ./modernizr.install
Implements hook_install().
modernizr_update_7302 in ./modernizr.install
Increase module weight to override other modules library definitions.

File

./modernizr.install, line 150
Install file for Modernizr module.

Code

function modernizr_set_module_weight() {
  db_update('system')
    ->fields(array(
    'weight' => 10,
  ))
    ->condition('name', 'modernizr', '=')
    ->execute();
}