Updating Menu Block Module 7.x-3.x to use new Drupal 7 Core Menu APIs

We encourage users to post events happening in the community to the community events group on https://www.drupal.org.
You are viewing a wiki page. You are welcome to join the group and then edit it. Be bold!

Project Information:

Student : Chad Whitman

Mentors : John Albin, Dan Myers

Overview: Updating the Menu Block Module 7.x-3.x to use new Drupal Core 7 Menu APIs.

Description: The current menu_block 7.x-2.x branch still uses APIs that were available in D6. There are new menu APIs in D7 that allow sub-trees to be retrieved. The menu_block 7.x-3.x needs to be re-worked to use those APIs.

Drupal Core’s menu blocks just print an entire tree of a specific menu. The Menu Block Module has the configuration to allow flexible menu-based navigation as blocks. It also only adds a block to the block admin page when you actually want a menu-based block and not before. The long-term goal related to this project (post-summer & beyond) is to possibly move the menu block module into Drupal 8 Core.

Related Discussion: Use menu_build_tree function

Schedule

April 23 - May 21

Setting up development environment, including developer module & simple tests.

May 21 - July 9
Testing & more testing of the "menu_tree_build" function in module with the menu_build_tree re-writing & simplifying code. Making sure currently functionality doesn't break.

Check out the patch below.

Links:
Sandbox
Screencast

AttachmentSize
menu_block.patch2.35 KB