This patch file should work for DRUPAL-5-9

CommentFileSizeAuthor
#1 DRUPAL-5-9-refactor.patch20.27 KBfebbraro
DRUPAL-5-9.patch20.27 KBmikejoconnor

Comments

febbraro’s picture

StatusFileSize
new20.27 KB

I actually did a slight refactor on this patch. Everything that the

search_get_implementing_modules

function does is already implemented by

module_implements

, the *only* difference is that

module_implements

if no sort is specified will order it according to the standard module ordering rules (weight, THEN name) this is useful if you want one tab to appear before another and not be solely dependent on module name. Use the weight in the system table to get the proper ordering.

Anyway, feel free to use either, this better suits my needs and seems to be more in line with the general hook ordering rules.

--Just updated the patch, screwed it up last time, sorry--

david lesieur’s picture

Status: Needs review » Fixed

The second patch was the same as the first one... However, it worked so I've committed it. Thanks!

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.