Theming menu trees and menu links is currently difficult and not very flexible. One of the issues is a general lack of contextual information. The fact that menu links and menu trees are separate themeable functions does not help matters.
Remove theme_menu_tree and theme_menu_link, and instead render menus using a recursive macro in a Twig template.
The patch also adds a link generator extension to the D8 Twig implementation.
- Manual testing
User interface changes
Removal of the following functions:
PASSED: [[SimpleTest]]: [PHP 5.4 MySQL] 77,633 pass(es). View
FAILED: [[SimpleTest]]: [PHP 5.4 MySQL] Unable to apply patch 1777332-86.patch. Unable to apply patch. See the log in the details link for more information. View