Mercurial > hg > cmmr2012-drupal-site
diff core/lib/Drupal/Core/Menu/menu.api.php @ 5:12f9dff5fda9 tip
Update to Drupal core 8.7.1
author | Chris Cannam |
---|---|
date | Thu, 09 May 2019 15:34:47 +0100 |
parents | a9cd425dd02b |
children |
line wrap: on
line diff
--- a/core/lib/Drupal/Core/Menu/menu.api.php Thu Feb 28 13:11:55 2019 +0000 +++ b/core/lib/Drupal/Core/Menu/menu.api.php Thu May 09 15:34:47 2019 +0100 @@ -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. *