You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: modules/customization/proc-customize-rhdh-sidebar-menuitems.adoc
+9-8Lines changed: 9 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -93,7 +93,7 @@ dynamicPlugins:
93
93
----
94
94
--
95
95
96
-
. To ensure that a menu item is identified as a main menu item, you must add `default.` prefix to its key. For example:
96
+
. To ensure that a menu item is identified as a main menu item, you must add the `default.` prefix to its key. For example:
97
97
+
98
98
--
99
99
.Example configuration of main menu items in sidebar navigation
@@ -102,13 +102,14 @@ dynamicPlugins:
102
102
dynamicPlugins:
103
103
frontend:
104
104
default.main-menu-items: # key for configuring static main menu items
105
-
default.<menu_item_name>: # key of the menu item configuration. `default.` prefix is required for a main menu item key <1>
106
-
parent: my_menu_group # optional, specifies the parent menu item for this item
107
-
priority: 10 # optional, specifies the order of this menu item within its menu level
108
-
default.<menu_group_parent_item_name>: # must be configured if it is specified as the parent of any menu items. `default.` prefix is required for a main menu item key
109
-
icon: my_menu_group_icon # required for parent menu items, defines the icon for the menu group
110
-
title: my_menu_group_title # required for parent menu items, defines the icon for the menu group
111
-
priority: 100 # optional, specifies the order of the parent menu item in the sidebar
105
+
menuItems:
106
+
default.<menu_item_name>: # key of the menu item configuration. `default.` prefix is required for a main menu item key <1>
107
+
parent: my_menu_group # optional, specifies the parent menu item for this item
108
+
priority: 10 # optional, specifies the order of this menu item within its menu level
109
+
default.<menu_group_parent_item_name>: # must be configured if it is specified as the parent of any menu items. `default.` prefix is required for a main group parent item key <1>
110
+
icon: my_menu_group_icon # required for parent menu items, defines the icon for the menu group
111
+
title: my_menu_group_title # required for parent menu items, defines the icon for the menu group
112
+
priority: 100 # optional, specifies the order of the parent menu item in the sidebar
0 commit comments