From c053db68bfbd0278caef0681010d5b3655e260fb Mon Sep 17 00:00:00 2001
From: David Rothstein <drothstein@gmail.com>
Date: Wed, 14 Oct 2015 16:13:59 -0400
Subject: [PATCH] Issue #2510674 by er.pushpinderrana, joachim, cilefen:
 menu_get_item() should say that $path is optional and what the default is

---
 includes/menu.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/includes/menu.inc b/includes/menu.inc
index eb623a936614..140e67e71fd2 100644
--- a/includes/menu.inc
+++ b/includes/menu.inc
@@ -431,7 +431,7 @@ function menu_set_item($path, $router_item) {
  *
  * @param $path
  *   The path; for example, 'node/5'. The function will find the corresponding
- *   node/% item and return that.
+ *   node/% item and return that. Defaults to the current path.
  * @param $router_item
  *   Internal use only.
  *
-- 
GitLab