Skip to content

Instantly share code, notes, and snippets.

@janit
Created January 27, 2016 05:18
Show Gist options
  • Save janit/92668ef01bf3a53ab636 to your computer and use it in GitHub Desktop.
Save janit/92668ef01bf3a53ab636 to your computer and use it in GitHub Desktop.
rollerworks_navigation:
menus:
menu-name:
template: ~ # optional template, used by the Menu builder
items:
item-name: # name of the item, eg. home, products, and such.
label: ~ # Label of the menu-item, this will be translated with the translator_domain
translator_domain: Menus # translator domain for the label
route: { name: ~, parameters: { } } # The route.name can not be empty, parameters is optional
uri: ~ # Alternatively you can use a URI instead of a route
items: [] # Sub-level items, same as this example (unlimited depth nesting)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment