Mercurial > defr > drupal > popups
view popups.install @ 3:5efa741592f9
Add an alter hook to the js list.
Makes it possible for a custom module to disable an auto-detected
JavaScript in case you just know it won't work right in a popup.
author | Franck Deroche <franck@defr.org> |
---|---|
date | Fri, 31 Dec 2010 14:02:22 +0100 |
parents | 4215c43e74eb |
children |
line wrap: on
line source
<?php // $Id: popups.install,v 1.4.8.3 2010/12/10 02:09:16 drewish Exp $ /** * @file */ /** * Implementation of hook_install(). * * Ensures popups runs after everything else, since it short circuits in hook_init. */ function popups_install() { db_query("UPDATE {system} SET weight = %d WHERE name = 'popups'", 9999); }