I've found a good way to allow hook_menu() in providers. Why would you need this? Well, if you wanted to add AJAX to a provider (see #345055).

Attached patch makes it possible using the same approach as the subthemes.

CommentFileSizeAuthor
#1 emfield_submenus.patch2.55 KBmoonray

Comments

moonray’s picture

StatusFileSize
new2.55 KB

Forgot the patch. :-)

aaron’s picture

Status: Needs review » Fixed

i'll bite. seems innocuous enough for now. committed. thanks, moonray! (also added emimage for completeness).

Status: Fixed » Closed (fixed)

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