I'm trying to add a menu item for my extension to the existing "Memberships" menu. The documentation suggests the following:
Use the Civix implementation
Civix comes with helper functions _EXTENSION_NAME_civix_insert_navigation_menu and _EXTENSION_NAME_civix_navigation_menu that simplify the process of inserting menu items. Consider using these functions rather than using the examples below or writing your own implementation of this hook.
What it doesn't do is give you any clue how to do this. I found an example here: https://github.com/totten/civix/blob/master/UPGRADE.md.
Regardless, there is no info on how to actually add a menu item to an existing menu using this method.
Could someone please enlighten me on how to use the civix method to add a menu item as a child to an existing menu?