I'd like to be able to show menu item target as a text item in the build/menu-customize form, but $item['href'] is not available in the $form passed to theme_menu_overview_form(). Could it be possible to add it as a hidden form item (like mlid) in _menu_overview_tree_form() ? I can try to cook a patch if needed.

That's just a cosmetic change, but needing to hover each menu item to know where it points to is cumbersome.

Comments

sun’s picture

We should make the $link variable available as private property on each row, $form[...]['#menu_link'], so contributed modules are able to improve the output of this form. However, we won't display the link path by default.

Can you roll a patch for that?

Status: Active » Closed (outdated)

Automatically closed because Drupal 7 security and bugfix support has ended as of 5 January 2025. If the issue verifiably applies to later versions, please reopen with details and update the version.