olivero_test.links.menu.yml
File
- 
              core/
modules/ system/ tests/ modules/ olivero_test/ olivero_test.links.menu.yml  
View source
- # Create items in the Main menu.
 - olivero_test.front_page:
 -   title: Home
 -   route_name: <front>
 -   menu_name: main
 -   weight: 100
 - olivero_test.child:
 -   title: Child link
 -   route_name: <front>
 -   parent: olivero_test.front_page
 -   menu_name: main
 -   weight: 100
 - olivero_test.child_child:
 -   title: Child link
 -   route_name: <front>
 -   parent: olivero_test.child
 -   menu_name: main
 -   weight: 100
 - olivero_test.button:
 -   title: Button
 -   route_name: <button>
 -   menu_name: main
 -   weight: 200
 - olivero_test.child_button:
 -   title: Child button link
 -   route_name: <front>
 -   parent: olivero_test.button
 -   menu_name: main
 -   weight: 100
 - olivero_test.anchor_link:
 -   title: "⚓️ Anchor link"
 -   url: "internal:#footer"
 -   menu_name: main
 -   weight: 200
 - olivero_test.long_item_1:
 -   title: Long long long long
 -   route_name: <front>
 -   menu_name: main
 -   weight: 200
 - olivero_test.long_item_2:
 -   title: Long long long long
 -   route_name: <front>
 -   menu_name: main
 -   weight: 200
 
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.