Mercurial > hg > rr-repo
comparison modules/simpletest/tests/url_alter_test.install @ 0:ff03f76ab3fe
initial version
author | danieleb <danielebarchiesi@me.com> |
---|---|
date | Wed, 21 Aug 2013 18:51:11 +0100 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:ff03f76ab3fe |
---|---|
1 <?php | |
2 | |
3 /** | |
4 * Impelement hook_install(). | |
5 */ | |
6 function url_alter_test_install() { | |
7 // Set the weight of this module to one higher than forum.module. | |
8 db_update('system') | |
9 ->fields(array('weight' => 2)) | |
10 ->condition('name', 'url_alter_test') | |
11 ->execute(); | |
12 } |