[documentation] [task] How contrib modules should use the weight column in the system table?

Morbus Iff drupal-docs at drupal.org
Fri Feb 10 12:16:44 UTC 2006


Issue status update for 
http://drupal.org/node/48769
Post a follow up: 
http://drupal.org/project/comments/add/48769

 Project:      Documentation
 Version:      <none>
 Component:    Developer Guide
 Category:     tasks
 Priority:     normal
 Assigned to:  Anonymous
 Reported by:  markus_petrux
 Updated by:   Morbus Iff
 Status:       active

I simply updated the table directly. See devel_update_1 in
contrib/modules/devel/.




Morbus Iff



Previous comments:
------------------------------------------------------------------------

Fri, 10 Feb 2006 07:45:25 +0000 : markus_petrux

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 [1], the enable hook [2] ?


Is it as simple as document the feature? ...or it is also required some
kind of API to update the weight of a module?
[1] http://drupal.org/node/46422
[2] http://drupal.org/node/45831






More information about the documentation mailing list