html5_tools.install in HTML5 Tools 6
Same filename and directory in other branches
Set up htm5_tools to be the heaviest.
File
html5_tools.installView source
<?php
/**
* @file
* Set up htm5_tools to be the heaviest.
*/
/**
* Implementation of hook_install().
*/
function html5_tools_install() {
_html5_tools_heaviest();
}
/**
* Update function.
* - Make this module the heaviest module in the system table.
*/
function html5_tools_update_6000() {
_html5_tools_heaviest();
}
/**
* Helper function that makes html5_tools the heaviest module.
*/
function _html5_tools_heaviest() {
db_query("UPDATE {system} SET weight = %d WHERE name = 'html5_tools'", 100000);
}
Functions
Name![]() |
Description |
---|---|
html5_tools_install | Implementation of hook_install(). |
html5_tools_update_6000 | Update function. |
_html5_tools_heaviest | Helper function that makes html5_tools the heaviest module. |