summaryrefslogtreecommitdiff
path: root/modules/menu/menu.api.php
diff options
context:
space:
mode:
Diffstat (limited to 'modules/menu/menu.api.php')
-rw-r--r--modules/menu/menu.api.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/menu/menu.api.php b/modules/menu/menu.api.php
index c69eaa79d..da1a36fc5 100644
--- a/modules/menu/menu.api.php
+++ b/modules/menu/menu.api.php
@@ -27,6 +27,9 @@
* contain the following key-value pairs:
*
* - "title": Required. The untranslated title of the menu item.
+ * - "title callback": Function to generate the title, defaults to t().
+ * If you require only the raw string to be output, set this to FALSE.
+ * - "title arguments": Arguments to send to t() or your custom callback.
* - "description": The untranslated description of the menu item.
* - "page callback": The function to call to display a web page when the user
* visits the path. If omitted, the parent menu item's callback will be used