This module and the Block Reference module work fine together provided you’re doing the normal theme rendering, but I had a need to obtain the unrendered menu block tree like that returned by menu_tree_page_data(). This module’s menu_tree_build() function will provide a rendered menu block tree, but not the tree data.
This patch adds two API functions to this module:
menu_block_tree_build($config) - build tree data from a configuration
menu_block_get_delta($bid) - return block delta, given block ID