You are here

strongarm.install in Strongarm 6

Same filename and directory in other branches
  1. 6.2 strongarm.install
  2. 7.2 strongarm.install

File

strongarm.install
View source
<?php

/**
 * Implementation of hook_enable().
 */
function strongarm_enable() {

  // Weight strongarm exceptionally light.
  db_query("UPDATE {system} SET weight = -1000 WHERE name = 'strongarm' AND type = 'module'");
}

/**
 * Update 6100: Weight strongarm exceptionally light.
 */
function strongarm_update_6100() {
  $ret = array();
  $ret[] = update_sql("UPDATE {system} SET weight = -1000 WHERE name = 'strongarm' AND type = 'module'");
  return $ret;
}

Functions

Namesort descending Description
strongarm_enable Implementation of hook_enable().
strongarm_update_6100 Update 6100: Weight strongarm exceptionally light.