view 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
line wrap: on
line source
<?php

/**
 * Implementation of hook_install().
 */
function prepopulate_install() {
  $ret = array();
  // Ensure that prepopulate sinks to the bottom during hook calls
  // there should be a UI for this at some point.
  $ret[] = db_query("UPDATE {system} SET weight = 10 WHERE name = 'prepopulate'");
  return $ret;
}