strongarm.install in Strongarm 6
Same filename and directory in other branches
File
strongarm.installView 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
Name | Description |
---|---|
strongarm_enable | Implementation of hook_enable(). |
strongarm_update_6100 | Update 6100: Weight strongarm exceptionally light. |