summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Pott2015-05-19 13:17:46 (GMT)
committerAlex Pott2015-05-19 13:17:46 (GMT)
commit9a668adfe16556244256d31f88596566cdc435d8 (patch)
tree0327a201defa9d6fe8a04be05b4c31a8939883eb
parent74363f6007e9b5af098ad3567d6b64457cc5fc33 (diff)
Issue #2452995 by JacobSanford, ashutoshsngh, jhodgdon: link_path should be url in the menu API documentation
-rw-r--r--core/modules/system/menu.api.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/core/modules/system/menu.api.php b/core/modules/system/menu.api.php
index 95be071..1d8298f 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