Skip to content
Snippets Groups Projects
Verified Commit 16afb5ce authored by Lee Rowlands's avatar Lee Rowlands
Browse files

Issue #2998772 by msankhala, hazong, heddn, alexpott: Document how to specify...

Issue #2998772 by msankhala, hazong, heddn, alexpott: Document how to specify route options in links.menu.yml
parent 9985cc04
No related branches found
No related tags found
No related merge requests found
......@@ -42,6 +42,9 @@
* parent: system.admin_reports
* description: 'View events that have recently been logged.'
* route_name: dblog.overview
* options:
* query:
* uid: 1
* weight: -1
* @endcode
* Some notes:
......@@ -50,6 +53,9 @@
* - parent: The machine name of the menu link that is the parent in the
* administrative hierarchy. See system.links.menu.yml to find the main
* skeleton of the hierarchy.
* - options: Define additional route options such as query parameters. See
* https://www.drupal.org/docs/8/api/menu-api/providing-module-defined-menu-links
* for more information.
* - weight: Lower (negative) numbers come before higher (positive) numbers,
* for menu items with the same parent.
*
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment