function url_alter_test_install
7.x url_alter_test.install | url_alter_test_install() |
Impelement hook_install().
File
- drupal-7.x/
modules/ simpletest/ tests/ url_alter_test.install, line 6
Code
function url_alter_test_install() {
// Set the weight of this module to one higher than forum.module.
db_update('system')
->fields(array('weight' => 2))
->condition('name', 'url_alter_test')
->execute();
}