0

I am trying to rearrange the order of my menu items for my custom node. Most of the menu items are created programmatically in hook_menu() so I can simply set the weights for those which works great. But I would like to move the edit menu item down the list a bit but I can't find a way to change its weight from the default of zero.

Is this possible?

1

I believe you can do this with hook_menu_alter().

Another option would be to leave the edit at 0 and change the weights of the items you can adjust to work around the edit.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.