From 9a668adfe16556244256d31f88596566cdc435d8 Mon Sep 17 00:00:00 2001 From: Alex Pott <alex.a.pott@googlemail.com> Date: Tue, 19 May 2015 14:17:46 +0100 Subject: [PATCH] Issue #2452995 by JacobSanford, ashutoshsngh, jhodgdon: link_path should be url in the menu API documentation --- core/modules/system/menu.api.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/core/modules/system/menu.api.php b/core/modules/system/menu.api.php index 95be071c76a8..1d8298feb3fe 100644 --- a/core/modules/system/menu.api.php +++ b/core/modules/system/menu.api.php @@ -337,10 +337,10 @@ * - title: (required) The untranslated title of the menu link. * - description: The untranslated description of the link. * - route_name: (optional) The route name to be used to build the path. - * Either a route_name or a url must be provided. + * Either the route_name or url element must be provided. * - route_parameters: (optional) The route parameters to build the path. - * - url: (optional) If you have an external link use url instead - * of providing a route_name. + * - url: (optional) If you have an external link use this element instead of + * providing route_name. * - parent: (optional) The machine name of the link that is this link's menu * parent. * - weight: (optional) An integer that determines the relative position of -- GitLab