Add menuitem to project menu


Hey all,

i am trying to add a menuitem to the project menu (the one with Workboard, Members etc. in it) from within a extension i am building (NOT a library at the moment). I tried to work my way from the existing PhabricatorProjectXXXProfileMenuItem classes, but with no luck. I also found the function

getBuiltinProfileItems in PhabricatorProjectProfileMenuEngine

which, if i add a item, i can display the menuitem. But i don’t want (and hope i don’t have to) change core files.

So, is there a way to extend the builtin menus?

Thanks and take care