function prepopulate_install in Prepopulate 6
Same name and namespace in other branches
- 5 prepopulate.install \prepopulate_install()
- 6.2 prepopulate.install \prepopulate_install()
- 7.2 prepopulate.install \prepopulate_install()
Implementation of hook_install().
File
- ./
prepopulate.install, line 15 - Install file for the Prepopulate module to set weight for the module.
Code
function prepopulate_install() {
$ret = array();
// Ensure that prepopulate sinks to the bottom during hook calls
// there should be a UI for this at some point.
$ret[] = db_query("UPDATE {system} SET weight = 10 WHERE name = 'prepopulate'");
return $ret;
}