diff 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 diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/sites/all/modules/prepopulate/prepopulate.install	Thu Sep 19 10:38:44 2013 +0100
@@ -0,0 +1,12 @@
+<?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;
+}