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/customizing-the-appearance/proc-customize-rhdh-sidebar-menuitems.adoc
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -30,7 +30,7 @@ dynamicPlugins:
30
30
<6> `priority`: (Optional) Sets the order in which menu items appear in the sidebar. The default priority is 0, which places the item at the bottom of the list. A higher priority value places the item higher in the sidebar. You can define this field for each section.
31
31
<7> `parent`: (Optional) Specifies the parent menu item under which the current item is nested. If this field is used, the parent menu item must be defined elsewhere in the `menuItems` configuration of any enabled plugin. You can define this field for each section.
32
32
33
-
. To add *Main menu item* to the dynamic plugins configuration, add the `default.` prefix to its key in your `{my-app-config-file}` file:
33
+
. To add *Main menu item* to the dynamic plugins configuration file, add the `default.` prefix to its key in your `{my-app-config-file}` file:
34
34
+
35
35
[source,yaml]
36
36
----
@@ -47,7 +47,7 @@ dynamicPlugins:
47
47
priority: 100 # <7>
48
48
----
49
49
<1> `default.main-menu-items`: Specifies the key for configuring static main menu items. The `default.` prefix identifies an item as a main menu item. You can add the `default.` prefix to both individual menu items or parent menu group configuration, such as `default.<menu_group_parent_item_name>` in the previous example.
50
-
<2> `default._<menu_item_name>_`: Specifies the key of the menu item configuration. `default.` prefix is required for a main menu item key.
50
+
<2> `default._<menu_item_name>_`: Specifies the key of the menu item configuration. The `default.` prefix is required for a main menu item key.
51
51
<3> `parent`: (Optional) Specifies the parent menu item for this item.
52
52
<4> `priority`: (Optional) Specifies the order of this menu item within its menu level.
53
53
<5> `icon`: Specifies the icon for the menu group. Required for parent menu items.
0 commit comments