prepopulate.install 320 B

123456789101112
  1. <?php
  2. /**
  3. * Implementation of hook_install().
  4. */
  5. function prepopulate_install() {
  6. $ret = array();
  7. // Ensure that prepopulate sinks to the bottom during hook calls
  8. // there should be a UI for this at some point.
  9. $ret[] = db_query("UPDATE {system} SET weight = 10 WHERE name = 'prepopulate'");
  10. return $ret;
  11. }