ah indeed, so this is kind of recursive, only that its not on $this but on the parent admin which is probably the same logic... makes sense. so you only abort the recursion once we step out of editable documents or when we go to some other admin that is not for a menunode and thus does not have this method overwritten, do i get that right? i think we should add some sort of counter then that can be configured on the menunode admin and stop adding nodes for menunode documents after that limit (but continue so that we show the "root" admin.

regarding the RouteProvider, yes, phpcr-odm will return the documents in the order you passed the ids in.