function environment_install in Environment 6
Same name and namespace in other branches
- 8 environment.install \environment_install()
- 7 environment.install \environment_install()
Implementation of hook_install().
File
- ./
environment.install, line 11 - Handles installation of the Environment module.
Code
function environment_install() {
// New module weights in core: put environment as the very last in the chain.
db_query("UPDATE {system} SET weight = -100 WHERE name = 'environment'");
}