Closed (fixed)
Project:
Documentation
Component:
Developer Guide
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
10 Feb 2006 at 07:45 UTC
Updated:
24 Dec 2006 at 17:30 UTC
The following issue lead to add a weight field to the {system} table.
http://drupal.org/node/42886
But how to use? How contrib modules can/should use the weight column in the system table? Updating the {system} table themselves from within the installation hook, the enable hook ?
Is it as simple as document the feature? ...or it is also required some kind of API to update the weight of a module?
Comments
Comment #1
morbus iffI simply updated the table directly. See devel_update_1 in contrib/modules/devel/.
Comment #2
gregglesThis seems good enough to me:
From http://cvs.drupal.org/viewcvs/drupal/contributions/modules/devel/devel.i...
Comment #3
(not verified) commented