Skip to content

Commit cb98a58

Browse files
author
Mykhailo Kudelia
committed
add navigation node to doc
1 parent 7d60609 commit cb98a58

1 file changed

Lines changed: 20 additions & 19 deletions

File tree

cookbook/how_to_create_and_customize_application_menu.rst

Lines changed: 20 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -83,25 +83,26 @@ Now we need to create a ``navigation.yml`` file with the following content:
8383
:linenos:
8484
8585
# src/Acme/Bundle/NewBundle/Resources/config/oro/navigation.yml
86-
menu_config:
87-
items:
88-
acme_tab:
89-
label: Acme label
90-
uri: '#'
91-
extras:
92-
position: 300
93-
acme_tab_link:
94-
label: Acme link label
95-
route: acme_link
96-
tree:
97-
application_menu:
98-
children:
99-
acme_tab:
100-
children:
101-
acme_tab_link: ~
102-
103-
titles:
104-
acme_link: My link page title
86+
navigation:
87+
menu_config:
88+
items:
89+
acme_tab:
90+
label: Acme label
91+
uri: '#'
92+
extras:
93+
position: 300
94+
acme_tab_link:
95+
label: Acme link label
96+
route: acme_link
97+
tree:
98+
application_menu:
99+
children:
100+
acme_tab:
101+
children:
102+
acme_tab_link: ~
103+
104+
titles:
105+
acme_link: My link page title
105106
106107
107108
Then you have to reload navigation data and clear cache:

0 commit comments

Comments
 (0)