Adds the ability to set a menu item as redirect to a page or first child.
Using redirects will prevent multiple menu items from being in active menu trail at the same time. The 'first-child' redirect allows you to have unique menu item that automatically forward the first child menu item when selected.
Very useful if you want...
Related Issues
| Name | Description |
|---|---|
| menu_helper_redirect_form_menu_edit_item_alter | Implementation of hook_form_FORM_ID_alter(). See alsomenu_helper_redirect_form_menu_edit_item_alter_submit() |
| menu_helper_redirect_goto | Callback for redirect/% router item. |
| menu_helper_redirect_menu | Implementation of hook_menu(). |
| _menu_helper_redirect_form_menu_edit_item_alter_post_submit | Set the menu item's first-child path for an inserted (new) menu item. |
| _menu_helper_redirect_form_menu_edit_item_alter_pre_submit | Set the menu item's reset_depth before the menu_edit_item form is submitted. |
| _menu_helper_redirect_get_active_branch | Get active branch from tree |
| _menu_helper_redirect_get_first_child_path | Get first child from tree |
| _menu_helper_redirect_set_form_weights | Set form elements weight |