You are here

function strongarm_enable in Strongarm 7.2

Same name and namespace in other branches
  1. 6.2 strongarm.install \strongarm_enable()
  2. 6 strongarm.install \strongarm_enable()

Implements hook_enable().

File

./strongarm.install, line 11
Install, update and uninstall functions for the strongarm module.

Code

function strongarm_enable() {

  // Weight strongarm exceptionally light.
  db_update('system')
    ->fields(array(
    'weight' => -1000,
  ))
    ->condition('name', 'strongarm')
    ->condition('type', 'module')
    ->execute();
}