Normally you do not return an array of numbered items in hook_link(); you return an associative array where each link has a key that identifies it to other modules and for theming. My proposed solution is attached as a patch. My use case was so that I would have the ability to theme the links individually with little icons.

CommentFileSizeAuthor
akismet.module.patch4.68 KBms2011

Comments

drewish’s picture

Status: Needs review » Fixed

changes seem good but you were replacing some wonky characters with other wonky characters. replaced them with dashes and committed to HEAD and DRUPAL-5.

Anonymous’s picture

Status: Fixed » Closed (fixed)

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