Mercurial > hg > rr-repo
annotate sites/all/modules/prepopulate/prepopulate.install @ 4:ce11bbd8f642
added modules
author | danieleb <danielebarchiesi@me.com> |
---|---|
date | Thu, 19 Sep 2013 10:38:44 +0100 |
parents | |
children |
rev | line source |
---|---|
danielebarchiesi@4 | 1 <?php |
danielebarchiesi@4 | 2 |
danielebarchiesi@4 | 3 /** |
danielebarchiesi@4 | 4 * Implementation of hook_install(). |
danielebarchiesi@4 | 5 */ |
danielebarchiesi@4 | 6 function prepopulate_install() { |
danielebarchiesi@4 | 7 $ret = array(); |
danielebarchiesi@4 | 8 // Ensure that prepopulate sinks to the bottom during hook calls |
danielebarchiesi@4 | 9 // there should be a UI for this at some point. |
danielebarchiesi@4 | 10 $ret[] = db_query("UPDATE {system} SET weight = 10 WHERE name = 'prepopulate'"); |
danielebarchiesi@4 | 11 return $ret; |
danielebarchiesi@4 | 12 } |