trim.install in Trim 7
Same filename and directory in other branches
File
trim.installView source
<?php
/**
* Implements hook_install().
*/
function trim_install() {
// Set a large weight in order to go last (and so validate first).
db_update('system')
->fields(array(
'weight' => 1001,
))
->condition('name', 'trim', '=')
->execute();
}
Functions
Name![]() |
Description |
---|---|
trim_install | Implements hook_install(). |