Parent module to link to sub modules – generated by sub-module

I’ve got a parent module that shows a list of functionality available from its sub modules. I’d like the links shown related to sub-modules to be added by the sub-modules themselves rather than being hard coded into the parent module (although they are generated using the route name).

The reason for this is so sub-modules are responsible for showing their functionality through the parent based on the users permissions and that work is self contained. Also means if a sub-module is disabled there won’t be any dead links in the parent.